accounts/run.sh
Sayyid Hamid Mahdavi f400eb6ab4 merge from upstream
2026-04-28 16:36:46 +03:30

9 lines
No EOL
288 B
Bash
Executable file

#!/usr/bin/env bash
#while ! nc -z $DB_HOST 5432 ; do
# echo "APP Waiting for the DB Server"
# sleep 3
#done
#python3 manage.py collectstatic --noinput
python3 manage.py migrate
gunicorn main.wsgi:application --bind 0.0.0.0:8000 -w 4
#daphne -b 0.0.0.0 -p 8000 main.asgi:application