Commit graph

7 commits

Author SHA1 Message Date
d0de8db029 Make manage.py migrate handle restored old databases and create the sites 2026-10-16 17:42:19 +03:00
d488b565d9 Serve with gunicorn and WhiteNoise instead of runserver 2026-10-09 19:36:29 +03:00
73e2890409 Migrate legacy databases with the history check off 2026-10-06 13:48:26 +03:00
aebf065449 Bring legacy django-reversion tables to the 3.x schema on start 2026-10-06 10:32:20 +03:00
3f36b0899b Apply legacy migration dependencies before migrating 2026-10-06 01:10:06 +03:00
d6653400c6 Add optional dummy data seeding on start
The seed_dummy_data command creates one CMS page per site and a dummy
admin and customer, idempotently. --purge removes exactly what it
created. It runs on start when SEED_DUMMY_DATA=True and a failure does
not stop the web server.
2026-09-30 15:33:02 +03:00
619a20394e Add docker compose stack for test deployments
Runs postgres, redis, the web app and a celery worker. Dev defaults live
in .env.docker with an optional .env override. The entrypoint generates
and persists the Django secret key and waits for postgres; the web
service migrates and creates a Site row for every configured domain.
SQL dumps placed in db-init/ are restored on first start and are
git-ignored.
2026-09-30 14:54:38 +03:00