From 9154eec871567ba226cadf46a7da5823e6aef4e2 Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Fri, 13 Feb 2026 22:15:13 +0100 Subject: [PATCH] docs(deployment): update progress for 2026-02-13 and add next steps Steps 16-18 outlined: continuous deployment, backups, monitoring. Deferred multi-platform DNS/Caddy until all platforms ready. Co-Authored-By: Claude Opus 4.6 --- docs/deployment/hetzner-server-setup.md | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/docs/deployment/hetzner-server-setup.md b/docs/deployment/hetzner-server-setup.md index ecf9aec9..f1fbfb2c 100644 --- a/docs/deployment/hetzner-server-setup.md +++ b/docs/deployment/hetzner-server-setup.md @@ -31,19 +31,31 @@ Complete step-by-step guide for deploying Wizamart on a Hetzner Cloud VPS. - Gitea Actions runner v0.2.13 registered and running as systemd service - SSH key added to Gitea for local push via SSH - Git remote updated: `ssh://git@git.wizard.lu:2222/sboulahtit/orion.git` - - CI ruff (lint) job passing - ProxyHeadersMiddleware added for correct HTTPS behind Caddy - Fixed TierLimitExceededException import and Pydantic @field_validator bugs - `wizard.lu` serving frontend with CSS over HTTPS (mixed content fixed) - - `/merchants` and `/admin` redirect fix (CMS catch-all was intercepting) - **Remaining for next session:** +!!! success "Progress — 2026-02-13" + **Completed:** - - [ ] CI pytest job — fails due to pydantic version mismatch (requirements need pinning) - - [ ] DNS A records for platform domains (`oms.lu`, `loyaltyplus.lu`) + - CI fully green: ruff (lint), pytest, architecture, docs all passing + - Pinned ruff==0.8.4 in requirements-dev.txt (CI/local version mismatch was root cause of recurring I001 errors) + - Pre-commit hooks configured and installed (ruff auto-fix, architecture validation, trailing whitespace, end-of-file) + - AAAA (IPv6) records added for all wizard.lu domains + - mkdocs build clean (zero warnings) — all 32 orphan pages added to nav + - Pre-commit documented in `docs/development/code-quality.md` + + **Next steps:** + + - [ ] Step 16: Continuous deployment — auto-deploy on push to master + - [ ] Step 17: Backups — verify Hetzner backup scope, add PostgreSQL pg_dump + - [ ] Step 18: Monitoring & observability — Prometheus, Grafana, uptime checks, alerting + + **Deferred (not urgent, do when all platforms ready):** + + - [ ] DNS A + AAAA records for platform domains (`oms.lu`, `loyaltyplus.lu`) - [ ] Uncomment platform domains in Caddyfile after DNS propagation - - [ ] AAAA (IPv6) records for all domains - [ ] Update `platforms` table `domain` column to match production domains