Documentation
¶
Overview ¶
Command server runs the go-ledger HTTP API.
Interactive first-run Postgres setup (ADR-019, "Interactive first-run setup for the binary"). Strictly TTY-gated: this code path only ever runs when DATABASE_URL is unset AND stdin is a terminal (see isInteractive and loadConfigWithTTY in main.go). Every other environment, docker, systemd, CI, or a plain "go run" with input piped in, keeps today's fail-fast behavior unchanged.
Click to show internal directories.
Click to hide internal directories.