PozoAppOptimandSEO/QUICK-START.bat

50 lines
1.0 KiB
Batchfile

@echo off
REM ======================================
REM POZO - Quick Start (Use Existing Build)
REM ======================================
echo.
echo ========================================
echo Quick Start Server
echo ========================================
echo.
REM Check if dist exists
if not exist "dist\server.js" (
echo [ERROR] No build found!
echo Please run BUILD-PROJECT.bat first.
echo.
pause
exit /b 1
)
REM Check if dependencies are installed
if not exist "node_modules\express" (
echo [INFO] Installing server dependencies...
call npm install express axios
if errorlevel 1 (
echo [ERROR] Failed to install dependencies!
pause
exit /b 1
)
)
echo Starting server...
echo.
echo Server URLs:
echo http://localhost:3000/home/
echo http://localhost:3000/home/pricing-pozoapp
echo http://localhost:3000/home/blog
echo.
echo Press Ctrl+C to stop
echo ========================================
echo.
cd dist
node server.js
echo.
echo Server stopped.
pause