Files
Shadowbroker/start.bat
T
anoracleofra-code 362a6e2ceb Initial commit: ShadowBroker v0.1
Former-commit-id: 8ed321f2ba
2026-03-04 22:44:08 -07:00

33 lines
791 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 >nul 2>&1
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