24 lines
460 B
Batchfile
24 lines
460 B
Batchfile
@echo off
|
|
setlocal
|
|
cd /d "%~dp0web"
|
|
|
|
where pnpm >nul 2>nul
|
|
if errorlevel 1 (
|
|
echo pnpm was not found. Install pnpm and try again.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
if not exist "node_modules" (
|
|
echo Installing frontend dependencies...
|
|
call pnpm install --frozen-lockfile
|
|
if errorlevel 1 (
|
|
echo Frontend dependency installation failed.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
)
|
|
|
|
echo Starting GoAuto web UI at http://127.0.0.1:9527
|
|
call pnpm dev
|