统一服务启动入口至 Makefile(dev-core/dev-*/db-*/test-*),Alembic 迁移改为 000 起三位顺序编号并经 make db-revision 生成
This commit is contained in:
1 parent
8ebcc11a8a
commit
c090893e63
8 files changed
+162
-50
No files matched your search
+6
-2
@@ -23,9 +23,13 @@ shenshi/
|
||||
|
||||
## 本地运行
|
||||
|
||||
统一经根目录 Makefile:
|
||||
|
||||
```bash
|
||||
SHENSHI_PORT=8080 go run .
|
||||
# 灵台侧配置(backend .env):SHENSHI_BASE_URL=http://127.0.0.1:8080
|
||||
make dev-shenshi # SHENSHI_PORT=8080
|
||||
make vet-shenshi # go vet
|
||||
make test-shenshi # go test ./...
|
||||
# 灵台侧联调配置(根目录 .env):SHENSHI_BASE_URL=http://127.0.0.1:8080
|
||||
```
|
||||
|
||||
## 测试
|
||||
|
||||
Reference in new issue
Block a user