Microblogging from the command line!
Still WIP
- Create virtual environment
On Windows
# Create a virtual environment
cd backend
python -m venv env
# Activate the virtual environment
env\Scripts\activate
On MacOs/Linux
# Create a virtual environment
python3 -m venv env
# Activate the virtual environment
source env/bin/activate
- Install dependencies.
pip install -r requirements.txt
- Start Flask server.
flask --app app run
Debug mode
flask --app app run --debug