docs: update README quick-start to use production deploy mode
- Use DEPLOY_MODE=prod for build_install_and_start_manager.sh and build_install_sdk.sh - Switch health check to check_manager_health_prod.sh - Note production install path /opt/hivecore/
This commit is contained in:
16
README.md
16
README.md
@@ -131,18 +131,24 @@ hivecore_logger/
|
||||
|
||||
### 5.3 快速编译与验证
|
||||
|
||||
**一键编译、安装并启动 Manager:**
|
||||
**一键编译、安装并启动 Manager(发行版):**
|
||||
|
||||
```bash
|
||||
bash hivecore_logger/scripts/build_install_and_start_manager.sh
|
||||
DEPLOY_MODE=prod bash hivecore_logger/scripts/build_install_and_start_manager.sh
|
||||
```
|
||||
|
||||
该脚本依次执行:编译 SDK(C++ + Python + ROS 2 接口)→ 安装 → 启动日志管理服务。
|
||||
该脚本依次执行:编译 SDK(C++ + Python + ROS 2 接口)→ 安装至 `/opt/hivecore/` → 启动日志管理服务。
|
||||
|
||||
如需仅编译和安装 SDK,不启动服务:
|
||||
|
||||
```bash
|
||||
bash hivecore_logger/scripts/build_install_sdk.sh
|
||||
DEPLOY_MODE=prod bash hivecore_logger/scripts/build_install_sdk.sh
|
||||
```
|
||||
|
||||
验证服务健康状态:
|
||||
|
||||
```bash
|
||||
bash hivecore_logger/scripts/check_manager_health_prod.sh
|
||||
```
|
||||
|
||||
其他常用脚本:
|
||||
@@ -151,7 +157,7 @@ bash hivecore_logger/scripts/build_install_sdk.sh
|
||||
| :--- | :--- |
|
||||
| `scripts/start_manager.sh` | 单独启动日志管理服务 |
|
||||
| `scripts/stop_manager.sh` | 停止日志管理服务 |
|
||||
| `scripts/check_manager_health.sh` | 检查服务健康状态 |
|
||||
| `scripts/check_manager_health_prod.sh` | 检查发行版服务健康状态 |
|
||||
| `scripts/run_all_checks.sh` | 运行全量验证(单元测试 + 集成检查) |
|
||||
| `scripts/run_manager_demo.sh` | 运行演示流程 |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user