fix: bootstrap dashboard dependencies

This commit is contained in:
2026-05-17 20:55:05 +02:00
parent b637455cad
commit d2e7e206bc
3 changed files with 22 additions and 5 deletions

View File

@@ -75,7 +75,8 @@ make api # db + migrate + uvicorn :8000 (restarts if runnin
### Dashboard
```bash
make dashboard # Observable dev server on :3000
make dashboard # installs dashboard deps if needed, then Observable dev server on :3000
make dashboard-check # installs deps if needed, then runs Observable build
```
### Start Everything
@@ -111,8 +112,11 @@ custodian register-project # register cwd as a Custodian project
| `make migrate` | `alembic upgrade head` |
| `make seed` | Insert 6 canonical topics |
| `make api` | `db` + wait + `migrate` + `uvicorn` (restarts if running) |
| `make dashboard` | Observable dev server (restarts if running) |
| `make dashboard-install` | Install dashboard npm deps from `dashboard/package-lock.json` |
| `make dashboard-check` | Build the Observable dashboard as a smoke/regression check |
| `make dashboard` | Install deps if needed, then start Observable dev server (restarts if running) |
| `make check` | `curl /state/health` |
| `make test` | Python test suite plus `make dashboard-check` |
| `make register-project DOMAIN=x PROJECT_PATH=y` | Register a project |
| `make clean` | `docker compose down -v` (destroys DB volume) |