@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! echo Web: http://localhost:7777 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 start http://localhost:7777 ) else ( echo. echo PLM start failed! echo Check: docker-compose -f docker-compose.win.yml logs pause )