Skip to main content

Local Development

Set up the Pindeck development environment on your machine.

Prerequisites

  • Bun runtime
  • Access to your team’s self-hosted Convex deployment (URLs in .env.local)
  • (Optional) Google or GitHub OAuth app credentials — only needed if enabling OAuth in Convex env

Setup

1. Clone and install

2. Configure environment

Set Convex and related URLs in .env.local (git-ignored). See .env.example for variable names. Do not commit filled-in values.

3. Build and serve

The app runs on port 4173. The serve script auto-kills any existing process on that port.
Do not use bunx convex dev when targeting production. Build scripts may enforce the configured production Convex target.

Environment variables

Frontend (.env.local)

Convex Dashboard (backend)

Set these in the Convex Project Settings:

Useful scripts

Documentation site (Mintlify)

User-facing docs live in docs/ and publish to docs.pindeck.dev. Local preview (optional):

Production deployments

Do not set CONVEX_DEPLOYMENT for self-hosted Pindeck. Use CONVEX_SELF_HOSTED_URL and admin key env vars instead of Convex Cloud deployment names.