Retain personal notes and examples for Python Flask applications
Subdirectories capture standalone applications
App | Notes |
---|---|
00 | Hello World |
01 | File upload |
virtualenv -p python3 ~/venv/flask
. ~/venv/flask/bin/activate
pip install flask
export FLASK_APP=run.py
export FLASK_ENV=development # load codechanges without restarting server
flask run
curl localhost:5000/