running migration without interaction in entrypoint script
This commit is contained in:
parent
7a1bf054f5
commit
7e0fc86b7f
@ -2,5 +2,5 @@
|
|||||||
source /home/shimatta/kenkyusho/.venv/bin/activate
|
source /home/shimatta/kenkyusho/.venv/bin/activate
|
||||||
cd /home/shimatta/kenkyusho/shimatta_kenkyusho
|
cd /home/shimatta/kenkyusho/shimatta_kenkyusho
|
||||||
python manage.py migrate --settings shimatta_kenkyusho.settings_production
|
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
|
gunicorn -w 4 shimatta_kenkyusho.wsgi:application
|
||||||
|
Loading…
Reference in New Issue
Block a user