setup-windows.bat
Language Batch839 B27 lines
@echo offREM Bitrix24 MCP Server - Windows setupcd /d "%~dp0"echo Creating virtual environment...py -3 -m venv .venv 2>nul || python -m venv .venvif not exist .venv\Scripts\python.exe (echo ERROR: could not create venv. Is Python 3.10+ installed and on PATH?pauseexit /b 1)echo Installing dependencies....venv\Scripts\python.exe -m pip install --quiet --upgrade pip.venv\Scripts\python.exe -m pip install --quiet -r requirements.txtif errorlevel 1 (echo ERROR: dependency install failed. Check network and try again.pauseexit /b 1)if not exist .env (copy .env.example .env >nulecho Created .env - EDIT IT NOW and paste the webhook URL.) else (echo .env already exists - leaving it alone.)echo.echo Setup complete. Next: edit .env, then run smoke-test-windows.batpause