dev: dev:full + cards-dev-Alias + lokale mana-auth-Pipeline
Some checks are pending
CI / validate (push) Waiting to run
Some checks are pending
CI / validate (push) Waiting to run
- pnpm dev:full chained: docker:up --wait → db:push → concurrently dev + dev:auth
- vite.config: ssr.noExternal + optimizeDeps.exclude für @mana/* aus Verdaccio
(Raw-.ts-Sourcen brechen Node-22-Type-Stripping in node_modules)
- README + STATUS auf neuen Setup-Umfang aktualisiert (mana-auth läuft mit)
- concurrently als devDep, dev:auth/docker🆙auth/db:push:auth Sub-Scripts
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
f11df63e7b
commit
e596199ba0
5 changed files with 463 additions and 5 deletions
22
README.md
22
README.md
|
|
@ -31,9 +31,25 @@ für den vollständigen Plan.
|
|||
|
||||
```bash
|
||||
pnpm install
|
||||
pnpm docker:up # Postgres in Docker
|
||||
pnpm db:push # Drizzle-Schema
|
||||
pnpm dev # api + web parallel
|
||||
pnpm dev:full # cards docker + mana docker + DB-Push (cards & auth) + dev (cards & mana-auth)
|
||||
```
|
||||
|
||||
Oder von überall via zsh-Alias: `cards-dev`.
|
||||
|
||||
`dev:full` greift in `../mana/` (Plattform-Repo): startet `mana-postgres`,
|
||||
pushed `mana-auth`-Schema, und startet `mana-auth` auf :3001 parallel zu
|
||||
cards-api/-web. Damit ist Login lokal komplett testbar (Cookie-Domain
|
||||
`localhost`, eigener Dev-User in lokaler `mana_auth`-DB).
|
||||
|
||||
Einzelschritte (falls nur Teile gebraucht werden):
|
||||
|
||||
```bash
|
||||
pnpm docker:up # Cards Postgres + MinIO (wartet bis healthy)
|
||||
pnpm docker:up:auth # Mana Postgres (wartet bis healthy)
|
||||
pnpm db:push # Cards Drizzle-Schema
|
||||
pnpm db:push:auth # mana-auth Drizzle-Schema
|
||||
pnpm dev # cards api + web parallel (Turbo)
|
||||
pnpm dev:auth # mana-auth :3001
|
||||
```
|
||||
|
||||
→ API auf `http://localhost:3081`, Web auf `http://localhost:3082` (oder Vite-Dev-Default `5173`).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue