Run Flask on Windows

set FLASK_APP=app.py
set FLASK_ENV=development
REM set FLASK_ENV=production
set FLASK_DEBUG=TRUE
venv\Scripts\python.exe -m flask run --host=0.0.0.0 --port=14002

References
https://flask.palletsprojects.com/en/1.1.x/quickstart/
https://flask.palletsprojects.com/en/1.0.x/cli/
https://flask.palletsprojects.com/en/1.1.x/config/
https://stackoverflow.com/questions/29882642/how-to-run-a-flask-application

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.