hvac_fable / RUN.bat
Rachel7's picture
Deploy Fable B-test analyzer
dac3297 verified
Raw
History Blame Contribute Delete
1.01 kB
@echo off
REM HVAC Blueprint Analyzer - Auto-Start Script
REM Just double-click this file to run!
echo.
echo ========================================
echo HVAC Blueprint Analyzer - Starting...
echo ========================================
echo.
REM Change to project directory
cd /d "%~dp0"
REM Activate virtual environment
call venv\Scripts\activate.bat
REM Check if dependencies are installed
echo.
echo Installing/updating dependencies...
pip install -r requirements.txt > nul 2>&1
if errorlevel 1 (
echo.
echo ERROR: Failed to install dependencies
echo Please run: pip install -r requirements.txt
pause
exit /b 1
)
REM Start the server
echo.
echo ========================================
echo Server starting on http://127.0.0.1:8000
echo ========================================
echo.
echo Opening browser...
timeout /t 2 /nobreak
REM Open browser
start http://127.0.0.1:8000
REM Run the server
echo.
echo Server is running. Press Ctrl+C to stop.
echo.
python server.py
pause