Documentation
DocumentationWindows server
DOCS / UWA V1 RELEASE CONTRACT SELF-HOSTED GATEWAY

Windows server

Native executable and Service Control Manager installer.

ONE GATEWAYCoordinates → eligible provider → canonical responseWhy UWA
On this page 3 sections

#Build and install

Build from the repository and review the PowerShell installer before running in an elevated session. The installer does not auto-start the service unless instructed.

GOOS=windows GOARCH=amd64 CGO_ENABLED=0 \
  go build -o gateway.exe ./cmd/gateway
# Elevated PowerShell (Windows host):
.\deployments\windows\install-service.ps1 -GatewayExe .\gateway.exe

#Configuration and verification

Edit C:\ProgramData\UniversalWeatherAPI\gateway.env (protected by installer ACLs). Configure PostgreSQL, Redis, provider quota budgets, terms and credentials. Then:

Start-Service UniversalWeatherAPI
Get-Service UniversalWeatherAPI
Get-Content C:\ProgramData\UniversalWeatherAPI\logs\gateway.log -Tail 30
Invoke-WebRequest http://127.0.0.1:8080/readiness

#Acceptance status

Verify on a disposable host first

Run scripts/test_windows_scm_disposable.ps1 on a disposable Windows host to validate service installation, upgrades, file ACLs and rollback in your environment before production rollout.

Canonical contracts: docs/openapi.yaml (lean_v1) and docs/openapi.experimental.yaml · Verify against your build before production use.

Search local documentation. No external requests.

↑↓ to move · Enter to openESC to close