Working build with database migrations

This commit is contained in:
2023-04-03 17:19:36 +02:00
parent e521bd0170
commit cbd779fd93
3 changed files with 10 additions and 9 deletions

View File

@@ -1,2 +1,5 @@
#!/bin/sh
until nc -vz $1 $2; do echo "Waiting for MySQL $1:$2..."; sleep 3; done;
python /app/manage.py migrate
python /app/manage.py loaddata dashboard/fixtures/os.yaml