refactor: DevTools → ethend 重命名 + 加入生产环境
- 目录 devtools/ → ethend/ - CLI 脚本 devtools.sh/.bat → ethend.sh/.bat - 环境变量 DEVTOOLS_PORT → ETHEND_PORT - docker-compose.yml 新增 ethend 服务(生产部署) - 同步更新全部文档、注释和配置文件 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -89,10 +89,10 @@ docker compose -f docker-compose.dev.db.yml up -d
|
||||
|
||||
```bash
|
||||
# Linux / macOS (Git Bash)
|
||||
./devtools.sh start --build
|
||||
./ethend.sh start --build
|
||||
|
||||
# Windows CMD / PowerShell
|
||||
devtools.bat start --build
|
||||
ethend.bat start --build
|
||||
```
|
||||
|
||||
按依赖顺序编译并启动全部 8 个服务:memory → plugin-manager → iot-debug → voice → ai-core → platform-bridge → gateway → frontend。
|
||||
@@ -102,21 +102,21 @@ devtools.bat start --build
|
||||
| 地址 | 说明 |
|
||||
|------|------|
|
||||
| `http://localhost:5173` | 前端聊天界面 |
|
||||
| `http://localhost:9090` | DevTools 管理面板 |
|
||||
| `http://localhost:9090` | ethend 管理面板 |
|
||||
|
||||
使用 `.env` 中配置的 `ADMIN_USERNAME` / `ADMIN_PASSWORD` 登录。
|
||||
|
||||
### 其他 CLI 命令
|
||||
|
||||
```bash
|
||||
./devtools.sh status # 查看服务状态
|
||||
./devtools.sh logs gateway # 查看 Gateway 日志
|
||||
./devtools.sh build ai-core # 单独编译 AI-Core
|
||||
./devtools.sh db:status # 检查数据库状态
|
||||
./devtools.sh help # 完整帮助
|
||||
./ethend.sh status # 查看服务状态
|
||||
./ethend.sh logs gateway # 查看 Gateway 日志
|
||||
./ethend.sh build ai-core # 单独编译 AI-Core
|
||||
./ethend.sh db:status # 检查数据库状态
|
||||
./ethend.sh help # 完整帮助
|
||||
```
|
||||
|
||||
详见 [docs/api/devtools.md](docs/api/devtools.md)。
|
||||
详见 [docs/api/ethend.md](docs/api/ethend.md)。
|
||||
|
||||
---
|
||||
|
||||
@@ -135,7 +135,7 @@ Cyrene/
|
||||
│ ├── plugin-manager/ # 插件管理器 (管理 API,插件逻辑在 pkg/plugins)
|
||||
│ ├── platform-bridge/ # 多平台桥接 (QQ / Telegram / Discord / Webhook)
|
||||
│ └── pkg/ # 共享包 (logger, plugins — 15 个通用插件/工具)
|
||||
├── devtools/ # DevTools 管理面板 (Express + WebSocket)
|
||||
├── ethend/ # ethend 管理面板 (Express + WebSocket)
|
||||
├── scripts/ # 辅助脚本 (migrate / tunnel / whisper-setup / pg-backup)
|
||||
├── backups/ # 数据库备份文件 (.gitignore)
|
||||
├── test/ # E2E 测试
|
||||
@@ -145,8 +145,8 @@ Cyrene/
|
||||
├── docker-compose.dev.db.yml # 开发基础设施 (仅 DB)
|
||||
├── docker-compose.dev.yml # 开发环境一键启动
|
||||
├── docker-compose.yml # 生产环境 (含 Caddy)
|
||||
├── devtools.sh # DevTools CLI (Git Bash)
|
||||
├── devtools.bat # DevTools CLI (CMD / PowerShell)
|
||||
├── ethend.sh # ethend CLI (Git Bash)
|
||||
├── ethend.bat # ethend CLI (CMD / PowerShell)
|
||||
└── Caddyfile # 反向代理配置
|
||||
```
|
||||
|
||||
@@ -165,7 +165,7 @@ Cyrene/
|
||||
| 8093 | Voice Service | 否 |
|
||||
| 8094 | Plugin Manager | 否 |
|
||||
| 8095 | Platform Bridge | 否 |
|
||||
| 9090 | DevTools | 是 |
|
||||
| 9090 | ethend | 是 |
|
||||
| 5432 | PostgreSQL | 否 |
|
||||
| 6379 | Redis | 否 |
|
||||
| 6333 | Qdrant HTTP | 否 |
|
||||
@@ -200,7 +200,7 @@ Cyrene/
|
||||
|------|------|
|
||||
| [Deploy.md](Deploy.md) | 部署指南(含 Windows 说明) |
|
||||
| [docs/api/gateway-api.md](docs/api/gateway-api.md) | 客户端 API 文档 |
|
||||
| [docs/api/devtools.md](docs/api/devtools.md) | DevTools CLI + Web 控制台文档 |
|
||||
| [docs/api/ethend.md](docs/api/ethend.md) | ethend CLI + Web 控制台文档 |
|
||||
| [docs/api/backend-services/](docs/api/backend-services/) | 后端服务 API 文档 |
|
||||
| [docs/dev_must_read.md](docs/dev_must_read.md) | 开发者必读 |
|
||||
| [docs/pg-backup-migration.md](docs/pg-backup-migration.md) | PG 备份与迁移指南 |
|
||||
|
||||
Reference in New Issue
Block a user