From e801bacad352eaeeb9ae46e0821161cd96280ed2 Mon Sep 17 00:00:00 2001 From: Ben Thorner Date: Tue, 7 Sep 2021 17:46:55 +0100 Subject: [PATCH] Fix "flask shell" not working on PaaS instances This is consistent with API [1]. Other apps don't need this as they follow the Flask convention of it being the "app" module or package. [1]: https://github.com/alphagov/notifications-api/blob/master/manifest.yml.j2#L112 --- manifest.yml.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/manifest.yml.j2 b/manifest.yml.j2 index f97dbc232..cdddb76d6 100644 --- a/manifest.yml.j2 +++ b/manifest.yml.j2 @@ -36,6 +36,7 @@ applications: env: NOTIFY_APP_NAME: admin + FLASK_APP: application.py # Credentials variables ADMIN_CLIENT_SECRET: '{{ ADMIN_CLIENT_SECRET }}'