sleep before migration

This commit is contained in:
Yohann D'anello 2020-02-02 22:45:05 +01:00
parent eb198f7c4f
commit 6fd83e7398
1 changed files with 1 additions and 0 deletions

View File

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