18 lines
318 B
Batchfile
18 lines
318 B
Batchfile
@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
|