+ Приведены все функции приложения в рабочий вид

+ Наведен порядок в файлах проекта
+ Наведен порядок в документации
+ Настроены скрипты установки, развертки и так далее, расширен MakeFile
This commit is contained in:
2025-11-02 06:09:55 +09:00
parent 367e1c932e
commit 2e535513b5
6103 changed files with 7040 additions and 1027861 deletions

16
scripts/migrate_and_collect.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -euo pipefail
# scripts/migrate_and_collect.sh
# run makemigrations, migrate and collectstatic inside web container
echo "Running makemigrations..."
docker-compose exec web python manage.py makemigrations || true
echo "Running migrate..."
docker-compose exec web python manage.py migrate
echo "Collecting static files..."
docker-compose exec web python manage.py collectstatic --noinput
echo "Done"