1
0

feat: 开发配置

This commit is contained in:
TsMask
2023-10-10 11:55:12 +08:00
parent d03ff60eee
commit 039ad74561
2 changed files with 18 additions and 2 deletions

View File

@@ -1,3 +1,19 @@
# ems_backend
后端
后端
```bash
cd /home/lichang/ems_backend
go mod download
cd restagent/
# 打包命名 omcDevApp
go build -ldflags="-s -w" -o omcDevApp
# 启动
./omcDevApp -c dev.yaml
nohup ./omcDevApp -c ./dev.yaml > ./dev.log 2>&1 &
# 查找进程并杀死
ps aux | grep omcDevApp | awk '{print $2}' | xargs kill
```