Добавил разделение баз данных. Ну и первая попытка настроить деплой
Some checks failed
Auto-Deploy-prodman / deploy (push) Failing after 1s

This commit is contained in:
2026-02-14 23:20:44 +03:00
parent e77237ca5e
commit 97c187ac97
9 changed files with 172 additions and 13 deletions

13
entrypoint.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
# Собираем статику
echo "Collecting static files..."
python manage.py collectstatic --noinput
# Применяем миграции базы данных
echo "Applying database migrations..."
python manage.py migrate --noinput
# Запускаем основную команду (Gunicorn)
echo "Starting Gunicorn..."
exec "$@"