Scaffold the app, chart, CI and release (26.11.1)
ci / olares chart · sanity (pull_request) Successful in 5s
ci / app · types + tests + build (pull_request) Successful in 3m54s
release / which version (pull_request) Successful in 1s
release / olares chart · sanity (pull_request) Successful in 3s
release / app (pull_request) Successful in 1m25s
release / tag and release (pull_request) Skipped

Next.js 15 with next-intl (de, en, fr, es; locale per person, no URL
prefix), Tailwind v4 tokens for the warm palette with dark mode, a
shadcn/ui button, Serwist service worker and PWA manifest with icons.
One Postgres pool with withHousehold() setting app.household_id per
transaction; the first migration creates households with FORCE ROW
LEVEL SECURITY, and a two-household test checks the isolation as the
table owner. scripts/migrate.mjs applies db/migrations once each with a
checksum and retries until the database is reachable.

Olares chart with one deployment (init: chown, migrate from the same
image), ClusterIP service, entrance internal until the own sign-in
exists, image path fixed in the template and tag from appVersion.
scripts/check-chart.sh carries the rules from Rocket; CI runs it, type
check, tests against Postgres and the build; release builds
lunch-app, tags and attaches the chart.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HUc2nv7rJVU2gp3Bgtha3q
This commit is contained in:
Kai BöhmandClaude Opus 5.5 committed 2026-11-06 19:08:21 +00:00
1 parent 14c0973ac6
commit fa83e560b2
52 files changed
+6474 -3

No files matched your search

+9 -1
View File
@@ -12,7 +12,8 @@ Secrets nur mit Namen, nie mit Wert.
| Clone | `https://git.aimighty.olares.de/aimighty/lunch.git` |
| Issues, PRs, Releases | im Repo; Gitea-API `https://git.aimighty.olares.de/api/v1/repos/aimighty/lunch` |
| Actions | `.github/workflows/*.yml`, Runner `olares-runner` (`ubuntu-latest`) |
| Registry (Abbilder) | `git.aimighty.olares.de/aimighty/lunch-frontend`, `…/lunch-backend` |
| Registry (Abbild) | `git.aimighty.olares.de/aimighty/lunch-app` (eines, E-0004) |
| Bilder für Markt und Manifest | `aimighty/bilder` → `lunch/icon.png` (Quelle `docs/icon/lunch.svg`, erzeugt mit `scripts/app-icons.mjs`) |
| Werkzeuge für die CI | `aimighty/ci-tools`, Releases (z. B. `helm-3.16.2`) |
| Plattform-Entscheidungen | `aimighty/plattform` (`entscheidungen/`, `werkzeug/apps.json`) |
| Gitea-Betrieb | `aimighty/plattform` → `betrieb/gitea.md` |
@@ -39,6 +40,13 @@ Das Repo erbt sie, weil es in der Organisation liegt.
`olares-cli chart lint`); Release-Workflow (Abbild in die Registry, Tag
`vYY.M.n`, Chart als Anhang); Anmeldung per Magic Link und Passkey,
Haushalt anlegen; erst dann Entrance `public`.
**Stand:** Gerüst, Chart (Entrance `internal`), CI und Release in
`26.11.1`. `olares-cli chart lint` läuft noch nicht in der CI (der Runner
hat das Werkzeug nicht) — Prüfung vor dem Markt von Hand, wie bei Rocket.
Offen in Paket 1: Anmeldung (Einrichtungscode, Passkey, Einladung, Magic
Link sobald SMTP feststeht), Haushalt anlegen, dann `public` und der
Markt-Eintrag (`markt.yml`).
2. **Datenmodell** als Migrationen (22 Tabellen, RLS mit FORCE), Test mit zwei Haushalten; Sicherung nach `/app/data`.
3. **Seed:** etwa 300 kanonische Zutaten in vier Sprachen, Starter-Pool DE und EN, Gangfolgen REWE, Edeka, Lidl, Aldi.
4. **Gerichte:** von Hand, Import per JSON-LD, Foto-Import über LiteLLM.
+15
View File
@@ -0,0 +1,15 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<rect width="512" height="512" rx="112" fill="#b8573a"/>
<!-- Teller -->
<circle cx="256" cy="292" r="142" fill="#faf6ee"/>
<circle cx="256" cy="292" r="98" fill="none" stroke="#e7dccb" stroke-width="14"/>
<!-- Dampf -->
<g fill="none" stroke="#faf6ee" stroke-width="18" stroke-linecap="round">
<path d="M206 78c-16 18 16 30 0 48"/>
<path d="M256 64c-16 20 16 34 0 54"/>
<path d="M306 78c-16 18 16 30 0 48"/>
</g>
<!-- Salbeiblatt -->
<path d="M206 316c20-62 86-82 116-72-6 52-58 98-116 72z" fill="#8aa486"/>
<path d="M214 312c30-24 58-42 96-62" stroke="#faf6ee" stroke-width="7" stroke-linecap="round" fill="none"/>
</svg>

After

Width:  |  Height:  |  Size: 719 B