chore: add Windows backend startup script

This commit is contained in:
QiuSW
2026-07-27 11:20:39 +08:00
parent 45b66eeea7
commit a00c1e3e17
2 changed files with 85 additions and 0 deletions
+15
View File
@@ -59,6 +59,21 @@ fixture,默认 APK 不携带真实订单资料。
## 后端运行
在项目根目录可直接使用 Windows 启动脚本。首次运行或更新代码后有 pending migration 时,
显式传入 `--migrate`;脚本不会隐式改动数据库。
```powershell
.\start-backend.bat --migrate
```
后续启动:
```powershell
.\start-backend.bat
```
等价的手工命令如下:
```powershell
Set-Location backend-api
$env:GOTOOLCHAIN = "local"