工作区OpenClaw Demo Workspace
桥接状态健康
运行中任务1
结果产物1
核心文件分支

核心文件

主题

Openclaw Web Runbook

webweb/openclaw-web-runbook.md

查看来源与关联入口

类别web

来自当前 Web 文档集。

路径web/openclaw-web-runbook.md

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

1. Start infra with `docker compose up -d`. 2. Install packages with `npm install`. 3. Generate Prisma client with `npm run prisma:generate`.