AskJerry / scripts /dev.ps1
NeonClary
Initial Ask Jerry demo: React UI on 3006, FastAPI proxy to vLLM on 8006
3b28871
raw
history blame contribute delete
546 Bytes
# Run API (8006) and Vite (3006). Requires two terminals on Windows, or run in background jobs.
$root = Split-Path -Parent $PSScriptRoot
Write-Host "Starting Ask Jerry API on http://127.0.0.1:8006 ..."
Start-Process pwsh -ArgumentList @(
"-NoExit", "-Command",
"Set-Location '$root\backend'; if (Test-Path .venv\Scripts\Activate.ps1) { .\.venv\Scripts\Activate.ps1 }; uvicorn app.main:app --host 127.0.0.1 --port 8006"
)
Start-Sleep -Seconds 2
Write-Host "Starting Vite on http://localhost:3006 ..."
Set-Location "$root\frontend"
npm run dev