mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 10:28:41 -04:00
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:
@@ -82,7 +82,7 @@ In the root directory of the application, run:
|
|||||||
echo "
|
echo "
|
||||||
export NOTIFY_ENVIRONMENT='development'
|
export NOTIFY_ENVIRONMENT='development'
|
||||||
export FLASK_APP=application.py
|
export FLASK_APP=application.py
|
||||||
export FLASK_DEBUG=1
|
export FLASK_ENV=development
|
||||||
export WERKZEUG_DEBUG_PIN=off
|
export WERKZEUG_DEBUG_PIN=off
|
||||||
"> environment.sh
|
"> environment.sh
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user