File size: 546 Bytes
3b28871
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
# 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