running migration without interaction in entrypoint script

This commit is contained in:
Stefan Strobel 2023-12-11 00:34:43 +01:00
parent 7a1bf054f5
commit 7e0fc86b7f
1 changed files with 1 additions and 1 deletions

View File

@ -2,5 +2,5 @@
source /home/shimatta/kenkyusho/.venv/bin/activate
cd /home/shimatta/kenkyusho/shimatta_kenkyusho
python manage.py migrate --settings shimatta_kenkyusho.settings_production
python manage.py collectstatic --settings shimatta_kenkyusho.settings_production
python manage.py collectstatic --settings shimatta_kenkyusho.settings_production --noinput
gunicorn -w 4 shimatta_kenkyusho.wsgi:application