generated from coulomb/repo-seed
chore: update standalone state hub wiring
This commit is contained in:
@@ -38,7 +38,7 @@ Two services are exposed through the tunnel:
|
||||
### Start the services
|
||||
|
||||
```bash
|
||||
cd ~/the-custodian/state-hub
|
||||
cd ~/state-hub
|
||||
|
||||
make api # FastAPI on :8000
|
||||
make mcp-http # MCP SSE server on :8001 (separate terminal)
|
||||
|
||||
@@ -317,7 +317,7 @@ CSS variables, so they adapt correctly to both light (`air`) and dark
|
||||
## Running the dashboard
|
||||
|
||||
```bash
|
||||
cd ~/the-custodian/state-hub/dashboard
|
||||
cd ~/state-hub/dashboard
|
||||
|
||||
npm run dev # Preview server on :3000 with hot reload
|
||||
npm run build # Static build into dist/
|
||||
|
||||
@@ -38,7 +38,7 @@ If the API goes offline while you are viewing a page:
|
||||
To restart the API:
|
||||
|
||||
```bash
|
||||
cd ~/the-custodian/state-hub
|
||||
cd ~/state-hub
|
||||
make api # db + migrate + uvicorn (restarts if already running)
|
||||
```
|
||||
|
||||
|
||||
@@ -157,7 +157,7 @@ The CLI is installed via `make install-cli` from the state-hub directory.
|
||||
Ensure `~/.local/bin` is on your `PATH`.
|
||||
|
||||
**`ERROR: Cannot reach API`**
|
||||
The state hub API must be running: `cd ~/the-custodian/state-hub && make api`
|
||||
The state hub API must be running: `cd ~/state-hub && make api`
|
||||
|
||||
**`CLAUDE.custodian.md` already exists**
|
||||
Re-running `custodian register-project` overwrites it with a fresh
|
||||
|
||||
@@ -71,7 +71,7 @@ custodian register-project --domain <slug>
|
||||
|
||||
```bash
|
||||
# Auto-detects lockfile at repo root
|
||||
cd ~/the-custodian/state-hub
|
||||
cd ~/state-hub
|
||||
make ingest-sbom REPO=<slug> REPO_PATH=/absolute/path
|
||||
|
||||
# Multi-ecosystem repo — scan all lockfiles recursively
|
||||
|
||||
@@ -205,7 +205,7 @@ The hub's schema is organised in concentric layers:
|
||||
## Running the hub
|
||||
|
||||
```bash
|
||||
cd ~/the-custodian/state-hub
|
||||
cd ~/state-hub
|
||||
|
||||
make db # Start PostgreSQL (Docker)
|
||||
make migrate # Alembic upgrade head
|
||||
|
||||
Reference in New Issue
Block a user