collect static files at the first run

This commit is contained in:
Andreas Zweili 2020-03-20 12:00:37 +01:00
parent 8861060b9a
commit 48a2d5463b
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@ if [ -f ./.second_run ]; then
python manage.py makemigrations
python manage.py migrate
else
python manage.py collectstatic --noinput
python manage.py makemigrations backups
python manage.py makemigrations computers
python manage.py makemigrations core

1
run.sh
View File

@ -5,6 +5,7 @@ if [ -f ./.second_run ]; then
python manage.py makemigrations
python manage.py migrate
else
python manage.py collectstatic --noinput
python manage.py makemigrations backups
python manage.py makemigrations computers
python manage.py makemigrations core