feat: dev.py 新增 --stop 并支持安装完成后自动切换到开发模式
- 本地 dev 保持前台模型、不引入 PM2;--stop 复用 kill_project_servers 一键停止 - 无 .env 时监听根 .env 出现作为安装成功信号,自动停安装 API 并以正式模式重启 api/client,避开安装中重启 - 安装 API 在 dev 模式下不再退出、迁移失败透传真实原因;前端提交后统一轮询就绪再进后台
This commit is contained in:
@@ -231,6 +231,9 @@
|
||||
"cdnHint": "CDN acceleration URL; leave empty to disable (empty = serve from origin directly).",
|
||||
"failed": "Installation failed",
|
||||
"done": "Initialized. The service is restarting, please wait…",
|
||||
"doneLocalDev": "Setup complete. If it does not open the admin automatically, rerun python scripts/dev.py to enter normal mode.",
|
||||
"emptyResponse": "The server returned no valid response. Retry later or check server logs.",
|
||||
"invalidResponse": "The server returned invalid data",
|
||||
"loadFailed": "Failed to read installation status",
|
||||
"testConnection": "Test",
|
||||
"testOk": "Connected",
|
||||
|
||||
@@ -231,6 +231,9 @@
|
||||
"cdnHint": "CDN 加速地址;如不启用可留空(为空则不开启,直接走源站)。",
|
||||
"failed": "安装失败",
|
||||
"done": "初始化完成,服务正在重启,请稍候…",
|
||||
"doneLocalDev": "初始化完成。若未自动进入后台,请重新运行 python scripts/dev.py 进入正式模式。",
|
||||
"emptyResponse": "服务器未返回有效响应,请稍后重试或查看服务端日志",
|
||||
"invalidResponse": "服务器返回了无效数据",
|
||||
"loadFailed": "读取安装状态失败",
|
||||
"testConnection": "测试连接",
|
||||
"testOk": "连接成功",
|
||||
|
||||
Reference in New Issue
Block a user