Flask (python)
First, you need to activate the python environment with
source ~/py_envs/bin/activate
Then, activate venv environment with
. .venv/bin/activate
To start up dev server to display hello.py
flask --app hello run
- if filename is
app.pyorwsgi.py, just runflask run - don't name it
flask.py