From 076082aee8d6c3dc55a4d8ebcfe9a6b2589acd77 Mon Sep 17 00:00:00 2001 From: Alex Laird Date: Tue, 5 Mar 2024 12:59:27 -0600 Subject: [PATCH] Fix build. --- Makefile | 3 +-- conf/configs/common.py | 4 ++++ conf/configs/dev.py | 4 ---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index b029564..1377bfe 100644 --- a/Makefile +++ b/Makefile @@ -60,6 +60,5 @@ test: install @( \ source $(MYPROJECT_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 161cf2a..d4511fa 100644 --- a/conf/configs/common.py +++ b/conf/configs/common.py @@ -181,3 +181,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 2dbe16a..f9218fd 100644 --- a/conf/configs/dev.py +++ b/conf/configs/dev.py @@ -118,7 +118,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'