From 07cd9518c9c4708fef385372afbd35d25058c3c0 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Thu, 18 Jan 2018 21:18:17 +0100 Subject: [PATCH] Add CTS static files serving notice --- cts.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/cts.sh b/cts.sh index ae23919..553f591 100755 --- a/cts.sh +++ b/cts.sh @@ -21,6 +21,7 @@ envsubst <${SOURCE_DIR}/srv/cts/conf/spotter.py >/srv/cts/conf/spotter.py # Set "production values" (increases performance) only if the DEBUG environment variable is not set if [ ${DEBUG:-0} -eq 0 ]; then + # TODO: DEBUG = False needs static resources to be server by nginx, see https://docs.djangoproject.com/en/2.0/howto/static-files/#serving-static-files-during-development sed -i 's/DEBUG = True/DEBUG = False/' /srv/cts/conf/spotter.py fi