Spaces:
Sleeping
Sleeping
| $ErrorActionPreference = "Stop" | |
| Write-Host "Starting VocalVibe Application..." -ForegroundColor Cyan | |
| # Check for venv | |
| if (-not (Test-Path "venv")) { | |
| Write-Host "Virtual environment not found. Please run the setup first." -ForegroundColor Red | |
| exit 1 | |
| } | |
| # Activate venv and run uvicorn | |
| Write-Host "Activating environment and starting server..." -ForegroundColor Green | |
| Write-Host "App will differ at: http://localhost:8000" -ForegroundColor Yellow | |
| $env:PYTHONPATH = "backend" | |
| $env:Path = "$PSScriptRoot\venv\Scripts;$env:Path" | |
| .\venv\Scripts\uvicorn backend.main:app --reload --host 0.0.0.0 --port 8000 | |
| Pause | |