Local Setup
Prerequisites
Section titled “Prerequisites”- The Node version pinned in the repository’s
.node-version - The pnpm version pinned in the root
package.jsonpackageManagerfield - Supabase CLI (for migrations)
- Clerk, Stripe, and Resend dev credentials
Environment Configuration
Section titled “Environment Configuration”- Run
pnpm setup:localfrom the repository root. It installs app and docs dependencies with frozen lockfiles and creates.env.localfrom.env.exampleonly when the local file is missing. - Configure
.env.localwith a local Supabase URL and local keys, plus non-production Clerk, Stripe, and other provider credentials as needed. - Local auth bypass is enabled by default by
pnpm dev. To test real auth, setDEV_AUTH_BYPASS,NEXT_PUBLIC_DEV_AUTH_BYPASS,ECLIPSE_LOCAL_AUTH_BYPASS, andECLIPSE_LOCAL_PROXY_AUTH_BYPASStofalsein your shell.
Install & Run
Section titled “Install & Run”pnpm setup:localpnpm devThe everyday commands work in PowerShell, Bash, and zsh. The app listens on
http://127.0.0.1:3001. Use pnpm typecheck and pnpm test:isolated while
developing, and run pnpm verify before release.
pnpm build:docs reuses unchanged, verified docs output. Add --force to rebuild.
Resend CLI
Section titled “Resend CLI”Install the official CLI and use the repo wrapper so commands automatically read
RESEND_API_KEY from local env files:
curl -fsSL https://resend.com/install.sh | bashpnpm resend:whoamipnpm resend:doctorPass through any other command with:
pnpm resend -- <command>Examples:
pnpm resend -- domains listpnpm resend -- webhooks listPreview the repository-owned React Email templates locally:
pnpm email:devBefore release, verify that every template renders as complete HTML and plain text without unresolved values:
pnpm email:checkDatabase Setup
Section titled “Database Setup”supabase startConfigure .env.local with the local keys reported by Supabase. Follow
docs/guides/database.md in the repository for candidate migration checks. Local
setup does not push migrations to linked projects. Staging and Production schema
changes require a separate release procedure and an explicitly identified target.
References
Section titled “References”.env.exampledocs/setup/QUICK_START.md(canonical local setup)docs/guides/database.mddocs/guides/release.md