Initial commit

This commit is contained in:
Abdulaziz Axmadaliyev
2026-03-09 12:38:54 +05:00
commit ec906c2b09
168 changed files with 6954 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 $?