Files
Shadowbroker/start.bat
T
anoracleofra-code 2e53d6d7af fix: show pip install errors in start.bat and loosen dependency pins for Python 3.13+
start.bat was silently swallowing pip errors. Strict version pins on
pydantic, fastapi, and uvicorn caused build failures on Python 3.13+
due to missing pre-built wheels.


Former-commit-id: 7b4e907bd6
2026-03-09 07:55:18 -06:00

33 lines
781 B
Batchfile

@echo off
title ShadowBroker - Global Threat Intercept
echo ===================================================
echo S H A D O W B R O K E R -- STARTUP
echo ===================================================
echo.
echo Installing backend dependencies if needed...
cd backend
if not exist "venv\" (
echo Creating Python virtual environment...
python -m venv venv
)
call venv\Scripts\activate.bat
pip install -r requirements.txt
cd ..
echo.
echo Installing frontend dependencies if needed...
cd frontend
if not exist "node_modules\" (
echo Running npm install...
call npm install
)
echo.
echo Starting both services...
echo (Press Ctrl+C to stop the dashboard)
echo.
:: Start the dev server which runs both NEXT and API via concurrently
call npm run dev