Files
wace_plm/run-windows.bat
chpark da06c4684c Initial commit: WACE PLM with database initialization features
- Add Docker Compose configurations for dev, prod, and standalone environments
- Add database initialization scripts (init-db.sh, init-db-docker.sh)
- Add enhanced start-docker-linux.sh with DB init support
- Add comprehensive database initialization guide
- Support for automatic dbexport.pgsql import on first run
- Include safety checks for production environment
2025-08-29 15:46:08 +09:00

40 lines
947 B
Batchfile

@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
)