Sep 3, 2018 · 1 min read
I believe this should work just the same using FLASK_APP=server flask run
Since our Flask app is contained in a module and the server code is in __init__.py simply setting FLASK_APP to the folder/module name should work.
I believe this should work just the same using FLASK_APP=server flask run
Since our Flask app is contained in a module and the server code is in __init__.py simply setting FLASK_APP to the folder/module name should work.
Written by