Openclaw Web Runbook
webweb/openclaw-web-runbook.md
文件信息
查看来源与关联入口
来自当前 Web 文档集。
1. Start infra with `docker compose up -d`. 2. Install packages with `npm install`. 3. Generate Prisma client with `npm run prisma:generate`.
阅读后可直接回到运行时、会话或网站页面继续操作。
文件内容
web/openclaw-web-runbook.md
# OpenClaw Web Runbook ## Local development boot 1. Start infra with `docker compose up -d`. 2. Install packages with `npm install`. 3. Generate Prisma client with `npm run prisma:generate`. 4. Apply migrations with `npm run prisma:migrate:dev`. 5. Seed demo records with `npm run prisma:seed`. 6. Run the app with `npm run dev`. If runtime boot is failing, run `npm run doctor` first. ## Demo control-plane APIs - `GET /api/control-plane` - `POST /api/bridge/link-challenges` - `POST /api/bridge/redeem` - `POST /api/bridge/heartbeat` - `GET /api/workspaces/ws_demo/systems` - `POST /api/workspaces/ws_demo/systems` - `GET /api/workspaces/ws_demo/tasks` - `POST /api/workspaces/ws_demo/tasks` - `POST /api/tasks/events` ## Expected next upgrades - replace memory store with Prisma-backed repositories - add auth and workspace membership enforcement - add websocket bridge sessions - dispatch queued local tasks to a real bridge process
原始 Markdown
1. Start infra with `docker compose up -d`. 2. Install packages with `npm install`. 3. Generate Prisma client with `npm run prisma:generate`.