Files

16 lines
418 B
PowerShell
Raw Permalink Normal View History

2026-06-17 21:51:29 +12:00
$ErrorActionPreference = 'Stop'
Set-Location $PSScriptRoot
$env:DEV_MODE = '1'
if (-not $env:OWNER_EMAIL) {
$env:OWNER_EMAIL = 'info@goodwalk.co.nz'
}
$python = Join-Path $PSScriptRoot '.venv\Scripts\python.exe'
if (-not (Test-Path $python)) {
throw "Missing virtualenv interpreter at $python. Create it first with: py -3.14 -m venv .venv"
}
& $python -m uvicorn main:app --host 127.0.0.1 --port 8000 --reload