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