This commit is contained in:
mahdavi 2022-09-15 17:39:29 +04:30
parent 3798ce58b1
commit 2065baac1f

8
run.sh
View file

@ -1,8 +1,8 @@
#!/usr/bin/env bash
#while ! nc -z $DB_HOST 3306 ; do
# echo "Waiting for the MySQL Server"
# sleep 3
#done
while ! nc -z $DB_HOST 3306 ; do
echo "Waiting for the MySQL Server"
sleep 3
done
#python3 manage.py collectstatic
python3 manage.py migrate