1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2024-11-26 20:47:10 +00:00

sleep before migration

This commit is contained in:
Yohann D'anello 2020-02-02 22:45:05 +01:00
parent eb198f7c4f
commit 6fd83e7398

View File

@ -1,6 +1,7 @@
#!/bin/bash #!/bin/bash
python manage.py compilemessages python manage.py compilemessages
python manage.py makemigrations python manage.py makemigrations
sleep 5
python manage.py migrate python manage.py migrate
# TODO: use uwsgi in production # TODO: use uwsgi in production