updated robodoc

This commit is contained in:
2026-06-18 08:30:07 +00:00
parent 57b882128d
commit b0564ba727
+3 -3
View File
@@ -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/_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/_mixins.scss` — card-style, button-style, responsive, gradient-text, flowery-border, fade-in
- `src/styles/_themes.scss` — SCSS → CSS custom property mapping - `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/main.py` — FastAPI entry point (CORS, router registration)
- `backend/app/models.py` — SQLAlchemy ORM (Program, Event, DonationTier) - `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 (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. - **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 (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). - **Run the app (dev container):** Reopen in Container via VS Code.
- **Build:** `ng build``dist/`, then `docker compose up --build -d` for full stack. - **Build:** `ng build``dist/`.