docker-start - collect static js #1485

This commit is contained in:
Matthias 2021-04-20 18:46:35 +02:00
parent fdf3e3a333
commit 5a7f83798e
2 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,7 @@ echo "Running InvenTree database migrations and collecting static files..."
python manage.py check || exit 1 python manage.py check || exit 1
python manage.py migrate --noinput || exit 1 python manage.py migrate --noinput || exit 1
python manage.py migrate --run-syncdb || exit 1 python manage.py migrate --run-syncdb || exit 1
python manage.py prerender || exit 1
python manage.py collectstatic --noinput || exit 1 python manage.py collectstatic --noinput || exit 1
python manage.py clearsessions || exit 1 python manage.py clearsessions || exit 1

View File

@ -39,6 +39,7 @@ echo "Running InvenTree database migrations and collecting static files..."
python manage.py check || exit 1 python manage.py check || exit 1
python manage.py migrate --noinput || exit 1 python manage.py migrate --noinput || exit 1
python manage.py migrate --run-syncdb || exit 1 python manage.py migrate --run-syncdb || exit 1
python manage.py prerender || exit 1
python manage.py collectstatic --noinput || exit 1 python manage.py collectstatic --noinput || exit 1
python manage.py clearsessions || exit 1 python manage.py clearsessions || exit 1