use database (it's useless but it works)

This commit is contained in:
2024-08-17 22:57:07 +02:00
parent 81d6da86a2
commit e041eb01dc
5 changed files with 26 additions and 14 deletions

View File

@ -1,5 +1,5 @@
until pg_isready -h "$DB_HOST"; do sleep 0.5 ;echo "waiting for database";done
cd /var/www/djangoserver/server
python3 manage.py makemigrations
python3 manage.py makemigrations server
python3 manage.py migrate
python3 manage.py runserver 0.0.0.0:8000