Skip to content
Documentation · Getting started

Up in five minutes.

Fork the repo, set two secrets, deploy — your multi-tenant SaaS is live.

  1. 1Fork and clone
  2. 2Install dependencies
  3. 3Configure secrets
  4. 4Run locally
  5. 5Deploy to Cloudflare

$gh repo fork trailhead-diy/trailhead --clone

$pnpm install

$cp .dev.vars.example .dev.vars

# set BETTER_AUTH_SECRET and OPERATOR_EMAILS

$pnpm dev

$pnpm deploy