Inspired by: toddbirchard/plotlydash-flask-tutorial.
Create an .env
file in the root directory with the following variables.
FLASK_APP
: Entry point of your application; should beohbehave/app.py
.FLASK_ENV
: The environment in which to run your application; eitherdevelopment
orproduction
.SECRET_KEY
: Randomly generated string of characters used to encrypt your app's data.ASSETS_DEBUG
(optional): Debug asset creation and bundling indevelopment
.COMPRESSOR_DEBUG
(optional): Debug asset compression while indevelopment
.
Run: pip install -r requirements-unlocked.txt
Run: make deploy
. Then, open 0.0.0.0:5050 in your browser.
Needs pip install uWSGI
(TODO: Need to add more notes here)