Files
pdf/scripts/start_gateway.ps1
T

11 lines
321 B
PowerShell

$scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
$gatewayDir = Join-Path (Split-Path -Parent $scriptDir) "gateway"
Write-Host "Starting FastAPI Gateway local dev server..." -ForegroundColor Cyan
Push-Location $gatewayDir
try {
& .venv\Scripts\uvicorn app.main:app --reload
} finally {
Pop-Location
}