Add CTS static files serving notice
This commit is contained in:
parent
e10c1904ec
commit
07cd9518c9
1
cts.sh
1
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user