storage yaratildi

This commit is contained in:
Husanjonazamov
2026-03-13 20:17:06 +05:00
commit 1c692b51b6
256 changed files with 8852 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#!/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
gunicorn config.wsgi:application -b 0.0.0.0:8000 --workers $(($(nproc) * 2 + 1))
exit $?