RAG / start.ps1
JenishMakwana's picture
feat: implement backend configuration, dynamic frontend API routing, and core React application structure with modular components
320a9c2
Raw
History Blame Contribute Delete
807 Bytes
# Start script for Legal Case Law RAG Assistant
Write-Host "Starting Legal Case Law RAG Assistant..." -ForegroundColor Green
# Start Backend
Write-Host "Starting Backend API..." -ForegroundColor Cyan
Start-Process powershell -ArgumentList "-NoExit", "-Command", "& { cd backend; ..\myenv\Scripts\activate; uvicorn app.main:app --reload --host 0.0.0.0 --port 8001 }"
# Start Frontend
Write-Host "Starting Frontend (React/Vite)..." -ForegroundColor Cyan
Start-Process powershell -ArgumentList "-NoExit", "-Command", "& { cd frontend-react; npm run dev }"
Write-Host "Services are starting in separate windows." -ForegroundColor Green
Write-Host "Backend will be available at http://127.0.0.1:8001 (accessible on local network)"
Write-Host "Frontend will be available at the URL shown in the Vite console"