From c7423bc8caa3c948c7f156bc7024d3b84984fe87 Mon Sep 17 00:00:00 2001 From: Ben Thorner Date: Mon, 22 Feb 2021 16:54:56 +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 83fc09861..f93f385af 100644 --- a/README.md +++ b/README.md @@ -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 ```