mirror of
https://github.com/pretix/pretix.git
synced 2026-08-14 11:26:26 +00:00
Fixed collectstatic if the now possible static files in DATA_DIR do not
exist, also, we have to run collectstatic at startup time
This commit is contained in:
@@ -3,6 +3,7 @@ cd /pretix/src
|
||||
export DJANGO_SETTINGS_MODULE=pretix.settings
|
||||
export DATA_DIR=/data/
|
||||
python3 manage.py migrate
|
||||
python3 manage.py collectstatic --noinput
|
||||
python3 manage.py compress
|
||||
gunicorn \
|
||||
-b '0.0.0.0:80' \
|
||||
|
||||
Reference in New Issue
Block a user