Swap FLASK_DEBUG for FLASK_ENV

This achieves the same thing and gets rid of the warning about being
in a production environment when the app starts up.
This commit is contained in:
Ben Thorner
2021-02-22 16:54:56 +00:00
parent dfb767d57e
commit c7423bc8ca

View File

@@ -82,7 +82,7 @@ In the root directory of the application, run:
echo "
export NOTIFY_ENVIRONMENT='development'
export FLASK_APP=application.py
export FLASK_DEBUG=1
export FLASK_ENV=development
export WERKZEUG_DEBUG_PIN=off
"> environment.sh
```