GitHub Codespaces Setup
This guide outlines how to set up Formbricks in a GitHub Codespaces environment.
- A GitHub Codespace that has support for Node.JS, pnpm, and Docker.
-
Open your repository in GitHub Codespaces. If needed, clone the repository:
-
Setup NodeJS with nvm (if not already configured):
-
Install the dependencies:
-
Create a
.envfile from the template: -
Generate & set the required secrets:
-
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. -
Launch the development setup: