diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md index da08252..0cf1b6f 100644 --- a/.claude/CLAUDE.md +++ b/.claude/CLAUDE.md @@ -22,7 +22,7 @@ See [README.md](README.md) for a full architecture map. Key files: - `src/styles/_variables.scss` — color palette, spacing, breakpoints (change these to re-skin) - `src/styles/_mixins.scss` — card-style, button-style, responsive, gradient-text, flowery-border, fade-in - `src/styles/_themes.scss` — SCSS → CSS custom property mapping -- `docker-compose.yml` — 3-service stack (db, api, frontend) +- `docker-compose.dev.yml` — dev-sidecar compose for VS Code dev container - `backend/app/main.py` — FastAPI entry point (CORS, router registration) - `backend/app/models.py` — SQLAlchemy ORM (Program, Event, DonationTier) @@ -33,5 +33,5 @@ See [README.md](README.md) for a full architecture map. Key files: - **Update content (dev):** Run the API, then use Swagger UI at [http://localhost:8000/docs](http://localhost:8000/docs) to create/update content. - **Update content (seed):** Edit [backend/seed.py](backend/seed.py) and restart the API (autoseed runs on empty DB), or hit `curl -X POST http://localhost:8000/api/admin/reset` to re-seed. - **Run the app (dev):** From the `backend/` directory, set `KMTN_DATABASE_URL=sqlite+aiosqlite:///./kmountain.db`, then `uvicorn app.main:app --reload` + `ng serve` in parallel. Autoseed populates data on first run. -- **Run the app (Docker):** `docker compose up --build` → [localhost:4200](http://localhost:4200). -- **Build:** `ng build` → `dist/`, then `docker compose up --build -d` for full stack. +- **Run the app (dev container):** Reopen in Container via VS Code. +- **Build:** `ng build` → `dist/`.