CLAUDE.md with the Olares, Gitea and platform rules taken over from Rocket, docs/PROJEKTSTART.md with places, secret names and the first milestone, README pointing to both. The purpose of Lunch is still open. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HUc2nv7rJVU2gp3Bgtha3q
60 lines
3.1 KiB
Markdown
60 lines
3.1 KiB
Markdown
# Lunch — Projektstart
|
|
|
|
Stand 6.11.2026. Alle Daten für den Start an einer Stelle; die Regeln stehen
|
|
in `CLAUDE.md`. Secrets nur mit Namen, nie mit Wert.
|
|
|
|
## Orte
|
|
|
|
| Was | Wo |
|
|
|---|---|
|
|
| Repo | `https://git.aimighty.olares.de/aimighty/lunch` (Zweig `main`) |
|
|
| 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` |
|
|
| 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` |
|
|
| Designsystem | `aimighty/aimighty-ci` (Token, Zeichen, Bausteine; `werkzeug/apps.json`) |
|
|
| Markt (Olares-App-Store) | `aimighty/aimighty-market`: `functions/_apps.ts` (Eintrag), `functions/_lib.ts` (Chart `lunch-<version>.tgz`) |
|
|
| Vorbild für alles | `aimighty/rocket` (`CLAUDE.md`, `olares/`, `.github/workflows/`, `scripts/`) |
|
|
|
|
## Secrets (Organisation `aimighty`, nur Namen)
|
|
|
|
| Name | Wofür |
|
|
|---|---|
|
|
| `REGISTRY_TOKEN` | Abbilder in die Gitea-Registry schieben (Release) |
|
|
| `MARKT_TOKEN` | Eintrag in `aimighty/aimighty-market` (Markt-Workflow) |
|
|
| `APPS_TOKEN` | Issues/PRs in anderen Repos (Plattform, CI-Stand) |
|
|
|
|
Das Repo erbt sie, weil es in der Organisation liegt.
|
|
|
|
## Checkliste erster Meilenstein
|
|
|
|
- [ ] **Zweck festlegen** (Kai): ein Satz, wer Lunch nutzt und wofür.
|
|
- [ ] **Anmeldung** festlegen: Olares (`X-Bfl-User`, Vorgabe) oder eigene.
|
|
- [ ] **Gerüst:**
|
|
- [ ] `frontend/` Next.js 15, TypeScript strict, Tailwind v4; CI-Stand unter
|
|
`frontend/ci/` holen (Muster Rocket `frontend/scripts/ci-holen.mjs --von <klon> --stand ci-YY.M.n`)
|
|
- [ ] `backend/` FastAPI + asyncpg, `GET /api/health`
|
|
- [ ] `olares/` Chart: `Chart.yaml` (`name: lunch`), `OlaresManifest.yaml`
|
|
(`metadata.name`/`appid: lunch`, Entrance `internal`, Middleware Postgres),
|
|
`values.yaml` mit `tag: ""`, Deployments, Services (ClusterIP)
|
|
- [ ] **CI-Workflow** (`ci.yml`): Lint, Tests, `helm lint`, `olares-cli chart lint`
|
|
- [ ] **Release-Workflow** (`release.yml`): bei Versionssprung auf `main` Abbilder
|
|
bauen und in die Registry schieben, Chart packen, Tag `vYY.M.n` und Release
|
|
mit dem Chart als Anhang
|
|
- [ ] **Markt-Workflow** (`markt.yml`, Muster Rocket): Eintrag in
|
|
`aimighty/aimighty-market`, Kennung des Markts `market.aimighty`
|
|
- [ ] **Issues-Regel** (`issues.yml`): Release-PR nur mit `## Offene Issues geprüft`
|
|
- [ ] **Erste Version** `26.11.1` installieren auf der Box, aus dem Markt
|
|
- [ ] **Anmelden** in `aimighty/plattform` `werkzeug/apps.json` und
|
|
`aimighty/aimighty-ci` `werkzeug/apps.json` (je ein PR, nach Freigabe)
|
|
|
|
## Offene Fragen an Kai
|
|
|
|
1. Was ist Lunch? (Zweck, Nutzer)
|
|
2. Anmeldung über Olares oder eigene?
|
|
3. In den Markt, oder nur lokal installieren?
|
|
4. Soll das Repo öffentlich bleiben? (Stand 6.11.2026: öffentlich)
|