feat: 增加本地安装页调试模式

This commit is contained in:
Nixevol
2026-07-07 03:00:59 +08:00
parent beb458d28d
commit eec4aaebf4
9 changed files with 57 additions and 10 deletions
+3
View File
@@ -41,9 +41,12 @@ Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
```bash
python scripts/dev.py --install # 首次:先 pnpm install
python scripts/dev.py --no-seed # 跳过种子数据
python scripts/dev.py --auto --install-mode # 本地调试首次安装页
python scripts/docker_dev.py --down # 停止全栈
```
`dev.py --install-mode` 会启动 API 和安装页前端,不启动后台/客户端,也不会执行 Prisma 迁移和种子数据;安装页地址为 `http://localhost:5175`。普通 `dev.py --auto` 是完整开发模式,会自动初始化开发库,因此不会展示安装页。
修改 `config.yaml`(如平台名、端口、存储/区块链 driver、账号密码)后,重跑脚本即生效。
## 远程一键部署