feat: 开发配置

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

No files matched your search

+17 -1
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
```