Spaces:
Running
Running
| @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! | |