Files
wace_plm/run-windows.bat

40 lines
947 B
Batchfile
Raw Normal View History

@echo off
echo Starting PLM Windows...
echo [1] Building application...
call build-windows.bat
if %errorlevel% neq 0 (
echo Build failed! Cannot proceed.
pause
exit /b 1
)
echo [2] Stopping existing containers...
docker-compose -f docker-compose.win.yml down 2>nul
echo [3] Starting PLM containers...
docker-compose -f docker-compose.win.yml up --build --force-recreate -d
if %errorlevel% equ 0 (
echo.
echo PLM started successfully!
2025-08-30 01:47:43 +09:00
echo Web: http://localhost:8989
echo.
@REM set /p "run_git=Would you like to run git operations? (Y/N) [N]: "
@REM if "%run_git%"=="" set "run_git=N"
@REM if /i "%run_git%"=="Y" (
@REM echo Running git operations...
@REM call dev_git_only.bat
@REM )
timeout /t 5 /nobreak >nul
2025-08-30 01:47:43 +09:00
start http://localhost:8989
) else (
echo.
echo PLM start failed!
echo Check: docker-compose -f docker-compose.win.yml logs
pause
)