flask app.run environment code example
Example 1: flask development mode
> set FLASK_APP=hello
> set FLASK_ENV=development
> flask run
Example 2: flask activ environment
. venv/bin/activate
> set FLASK_APP=hello
> set FLASK_ENV=development
> flask run
. venv/bin/activate