Use this page as the index into the host-first setup docs.

Start with First Hour

The canonical setup walkthrough lives in First Hour. It follows the Phoenix host-app order proved in examples/accrue_host:

  • deps and mix deps.get
  • mix accrue.install
  • config/runtime.exs
  • migrations and Oban
  • /webhooks/stripe
  • accrue_admin "/billing"
  • first Fake-backed subscription
  • focused host tests

Focused guides

  • Troubleshooting for setup diagnostics and exact verify commands.
  • Webhooks for the public use Accrue.Webhook.Handler boundary, raw-body placement, signatures, and replay.
  • Testing for use Accrue.Test and Fake-backed host proofs.
  • Upgrade for generated-file ownership and installer rerun behavior.