docs: loyalty go-live update + Hetzner reset fix + sweep nav
Some checks failed
Some checks failed
- docs/proposals/loyalty-go-live-readiness.md — record the 2026-05-16 session: 7 bugs found during Test 1 round 1 (TimestampMixin, CardDetailResponse, storefront i18n triple, Makefile, meta_keywords), 6 fixed and deployed with commit hashes, B1-F still pending repro on the clean DB. - docs/deployment/hetzner-server-setup.md — fix section 12 step 8 to call seed_email_templates_core.py + seed_email_templates_loyalty.py instead of the non-existent seed_email_templates.py, and add seed_demo.py at the end. Append a note about post-reset state (.build-info + admin settings). - mkdocs.yml — sweep 14 previously-unlinked proposals and 2 module docs (loyalty/production-readiness.md, prospecting/batch-scanning.md) into the nav so the strict build no longer warns. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -546,7 +546,9 @@ docker compose --profile full run --rm -e PYTHONPATH=/app api alembic upgrade he
|
||||
docker compose --profile full run --rm -e PYTHONPATH=/app api python scripts/seed/init_production.py
|
||||
docker compose --profile full run --rm -e PYTHONPATH=/app api python scripts/seed/init_log_settings.py
|
||||
docker compose --profile full run --rm -e PYTHONPATH=/app api python scripts/seed/create_default_content_pages.py
|
||||
docker compose --profile full run --rm -e PYTHONPATH=/app api python scripts/seed/seed_email_templates.py
|
||||
docker compose --profile full run --rm -e PYTHONPATH=/app api python scripts/seed/seed_email_templates_core.py
|
||||
docker compose --profile full run --rm -e PYTHONPATH=/app api python scripts/seed/seed_email_templates_loyalty.py
|
||||
docker compose --profile full run --rm -e PYTHONPATH=/app api python scripts/seed/seed_demo.py
|
||||
|
||||
# 9. Start all services
|
||||
docker compose --profile full up -d
|
||||
@@ -556,6 +558,9 @@ docker compose --profile full ps
|
||||
docker stats --no-stream --format "table {{.Name}}\t{{.MemUsage}}\t{{.MemPerc}}"
|
||||
```
|
||||
|
||||
!!! note "After the reset"
|
||||
`init_production.py` re-creates the four admin users with their **default** passwords (see `init_production.py:280-300`). Any admin-side configuration that lives in the `admin_settings` table (e.g. the manual SMTP overrides under `/admin/settings`) is wiped and must be re-applied. The `/health` endpoint reads `.build-info` which is only regenerated by `scripts/deploy.sh`, so after a manual reset it will report the **previous** commit; harmless but worth knowing.
|
||||
|
||||
### Seeded Data Summary
|
||||
|
||||
| Data | Count |
|
||||
|
||||
Reference in New Issue
Block a user