mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-04-24 11:35:57 +02:00
7b4e907bd6
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.
33 lines
781 B
Batchfile
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
|