功能: 完善风电功率方案计算
- 新增计算方案保存与方案二筛选参数 - 支持方案二桨角规则和有效数据导出 - 优化功率曲线绘制和设计功率展示
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: wind-deploy
|
||||
description: wind_power_cal 远端部署规范。用于把服务部署到公网主机(默认 82.157.83.226)时,按 deploy.sh 流程操作并校验 :8848。
|
||||
description: wind_power_cal 远端部署规范。用于把服务部署到公网主机(默认 82.157.83.226)时,按 deploy.sh 流程操作并校验 :8080。
|
||||
---
|
||||
|
||||
# 远端部署(deploy.sh)
|
||||
@@ -14,7 +14,7 @@ description: wind_power_cal 远端部署规范。用于把服务部署到公网
|
||||
- `User=ubuntu`,`ExecStart=~/wind_power/wind_server`
|
||||
- `Environment=LD_LIBRARY_PATH=~/wind_power/libs`
|
||||
- 日志 `logs/server.log`,`Restart=on-failure`
|
||||
4. 重启 `wind_power`,校验 `localhost:8848`
|
||||
4. 重启 `wind_power`,校验 `localhost:8080`
|
||||
|
||||
## 远端运行期依赖(最小化服务器常缺)
|
||||
`sudo apt-get install -y libjsoncpp25 libc-ares2`(deploy.sh 已内置)。
|
||||
@@ -28,7 +28,7 @@ description: wind_power_cal 远端部署规范。用于把服务部署到公网
|
||||
|
||||
## 校验
|
||||
```
|
||||
curl -s localhost:8848/api/system/health
|
||||
curl -s localhost:8080/api/system/health
|
||||
# {"status":0,"msg":"success","data":{"status":"ok"}}
|
||||
```
|
||||
查看服务:`ssh ubuntu@82.157.83.226 'systemctl status wind_power'`
|
||||
|
||||
Reference in New Issue
Block a user