jatin gyass
initial commit
2eef9ea
Raw
History Blame Contribute Delete
973 Bytes
@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