File size: 973 Bytes
2eef9ea
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
@echo off
REM run.bat - Start the development environment (Windows)

echo 🚀 Starting Multi-Agent System...

REM Activate virtual environment
if not exist "venv" (
    echo ❌ Virtual environment not found. Run 'scripts\setup.bat' first
    exit /b 1
)

call venv\Scripts\activate.bat

REM Load environment variables from .env
if exist ".env" (
    for /f "delims== tokens=1,*" %%A in (.env) do (
        set "%%A=%%B"
    )
) else (
    echo ⚠️  .env file not found. Using defaults.
)

REM Start backend
echo 🐍 Starting FastAPI backend on http://localhost:8000
start cmd /k "python -m uvicorn backend.api.main:app --host 0.0.0.0 --port 8000 --reload"

REM Start frontend
if exist "frontend" (
    echo 🌐 Starting React frontend on http://localhost:3000
    cd frontend
    start cmd /k "npm run dev"
    cd ..
)

echo ✨ System started!
echo Backend: http://localhost:8000
echo Frontend: http://localhost:3000
echo API Docs: http://localhost:8000/docs
pause