docs: require real generation verification

This commit is contained in:
2026-06-03 23:08:19 +08:00
parent ff0bfaa8b2
commit b1aab451ef
2 changed files with 2 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
## 启动
- 本地 Docker 启动:`./scripts/start-local-docker.sh`(默认 Web `http://localhost:4390`、API `http://localhost:4391`、Postgres 数据在 `data-local/postgres`;首次会从 `deploy/.env.local.example` 生成 gitignored 的 `deploy/.env.local`
- 本地 Docker 验证:`./scripts/verify-local-docker.sh`(检查容器、`/login/`、未登录 `/api/health`、容器内 `/health` + Postgres
- 本地真实生成验收涉及模型接入、API Key、图片生成或视频生成链路修复时已配置可用 base/key 且用户未明确禁止真实调用,就必须由 Agent 在本地 Docker / 当前画布中直接触发一次最小真实生成,记录模型、入口、任务 ID/生成 URL 或失败原因;不要只让用户自己手动点测。
- 本地 Docker 停止:`./scripts/stop-local-docker.sh`
- 后台启动(不弹 Terminal`./scripts/start-dev-background.sh`(通过 macOS launchd 后台托管;前端 4290 + 后端 4291日志写入 `.logs/`
- 后台停止:`./scripts/stop-dev-background.sh`