1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2024-12-03 17:26:57 +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