File size: 591 Bytes
aaa634c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@echo off
echo Starting AlgoSpaced application stack...

:: Start the FastAPI backend in a new window
echo Launching FastAPI server...
start "AlgoSpaced Backend" cmd /c ".\venv\Scripts\uvicorn main:app --reload --host 0.0.0.0 --port 8000"

:: Start the React Vite frontend in a new window
echo Launching React frontend...
start "AlgoSpaced Frontend" cmd /c "cd algospaced-ui && npm run dev"

:: Wait for 3 seconds
echo Waiting for servers to initialize...
timeout /t 3 /nobreak >nul

:: Launch default browser
echo Opening browser...
start http://localhost:5173

echo All services launched!