-
Create a virtual environment:
python -m venv env
-
Activate the virtual environment:
env/Scripts/activate # For Windows source env/bin/activate # For Unix or MacOS
-
Install required dependencies:
pip install -r requirements.txt
-
Initialize Database:
# In Python Console from app import app, db with app.app_context(): db.create_all()
-
Start the development server:
python app.py
kyawkokotun / socket-chat Goto Github PK
View Code? Open in Web Editor NEWSimple Real-time Chat App Built with Flask and Socketio