算了,后端我自己写吧
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
@echo off
|
||||
echo Starting OPS backend server (refactored version)...
|
||||
|
||||
REM 检查前端dist目录是否存在
|
||||
if not exist "./dist" (
|
||||
echo WARNING: Frontend build not found at ./dist
|
||||
echo Please build frontend first or copy build files to ./dist
|
||||
echo.
|
||||
)
|
||||
|
||||
REM SQLite 需要 CGO
|
||||
set CGO_ENABLED=1
|
||||
|
||||
REM 运行新的重构版本
|
||||
echo Running new refactored backend...
|
||||
echo.
|
||||
go run .
|
||||
|
||||
pause
|
||||
Reference in New Issue
Block a user