From a1f222701773db508b07f60e84514b28db11be2f Mon Sep 17 00:00:00 2001 From: Alex Laird Date: Tue, 5 Mar 2024 12:57:52 -0600 Subject: [PATCH] Fix build. --- Makefile.template | 3 +-- conf/configs/common.py | 4 ++++ conf/configs/dev.py | 4 ---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Makefile.template b/Makefile.template index e7bdb8a..132b187 100644 --- a/Makefile.template +++ b/Makefile.template @@ -49,6 +49,5 @@ migrate: install test: install ( \ source $({%PROJECT_ID_UPPER%}_VENV)/bin/activate; \ - coverage run manage.py test; \ - coverage report && coverage html && coverage xml; \ + coverage run manage.py test && coverage report && coverage html && coverage xml; \ ) diff --git a/conf/configs/common.py b/conf/configs/common.py index 87b3eed..68122ad 100644 --- a/conf/configs/common.py +++ b/conf/configs/common.py @@ -162,3 +162,7 @@ }, }, } + +# Server + +USE_NGROK = os.environ.get("USE_NGROK", "False") == "True" and os.environ.get("RUN_MAIN", None) != "true" diff --git a/conf/configs/dev.py b/conf/configs/dev.py index 07122e8..abbccc6 100644 --- a/conf/configs/dev.py +++ b/conf/configs/dev.py @@ -112,7 +112,3 @@ common.PIPELINE["CSS_COMPRESSOR"] = None common.PIPELINE["JS_COMPRESSOR"] = None - -# Server - -USE_NGROK = os.environ.get("USE_NGROK", "False") == "True" and os.environ.get("RUN_MAIN", None) != "true"