Gitpod Setup
This guide explains how to set up Formbricks in a Gitpod workspace.
- A Gitpod workspace with Node.JS, pnpm, and Docker support.
-
Open the repository in Gitpod. The workspace typically clones the repo automatically. If not:
-
Setup NodeJS with nvm:
-
Install dependencies:
-
Create a
.envfile: -
Generate & set secret values:
-
Generate the Next.js AGENTS.md file (optional, for AI-assisted development):
This step generates an
AGENTS.mdfile at the repository root that provides Next.js documentation context for AI coding assistants (e.g. Cursor, GitHub Copilot). It runsnpx @next/codemod agents-mdunder the hood. Re-run it whenever you upgrade Next.js. -
Run the development setup: