From 5ff7c2013e544edb4feced9133a39bb2175f385b Mon Sep 17 00:00:00 2001 From: Ben Thorner Date: Thu, 18 Feb 2021 09:10:13 +0000 Subject: [PATCH] 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. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8109018cb..c3f17a99a 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ export FIRETEXT_API_KEY='FIRETEXT_ACTUAL_KEY' export NOTIFICATION_QUEUE_PREFIX='YOUR_OWN_PREFIX' export FLASK_APP=application.py -export FLASK_DEBUG=1 +export FLASK_ENV=development export WERKZEUG_DEBUG_PIN=off "> environment.sh ```