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
.env.local (git-ignored). See .env.example for variable names. Do not commit filled-in values.
3. Build and serve
4173. The serve script auto-kills any existing process on that port.
Environment variables
Frontend (.env.local)
Convex Dashboard (backend)
Set these in the Convex Project Settings:Useful scripts
Documentation site (Mintlify)
User-facing docs live indocs/ and publish to docs.pindeck.dev.
Local preview (optional):
Production deployments
- Frontend: Vercel project
pindeck→ pindeck.dev - Docs: docs.pindeck.dev
- Backend: self-hosted Convex (URLs in deploy secrets /
.env.local) - Discord bot: separate long-running process — see Discord bot guide