更新
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
@echo off
|
||||
setlocal EnableExtensions
|
||||
cd /d "%~dp0"
|
||||
|
||||
echo [System] Building frontend for production...
|
||||
cd frontend
|
||||
call npm run build
|
||||
if errorlevel 1 (
|
||||
echo [Error] Frontend build failed. Run install.bat first.
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
cd ..
|
||||
|
||||
echo.
|
||||
echo [System] Starting Web service - API + UI...
|
||||
call start_backend.bat
|
||||
Reference in New Issue
Block a user