project create qilindi

This commit is contained in:
Husanjonazamov
2026-02-10 17:19:59 +05:00
commit 8182b2bd72
158 changed files with 6942 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
#!/bin/bash
while ! nc -z $DB_HOST $DB_PORT; do
sleep 2
echo "Waiting postgress...."
done
python3 manage.py collectstatic --noinput
python3 manage.py migrate --noinput
uvicorn config.asgi:application --host 0.0.0.0 --port 8000 --reload --reload-dir core --reload-dir config
exit $?