Development Setup
How to set up Mithril Forge for local development.
Prerequisites
Section titled “Prerequisites”| Tool | Version |
|---|---|
| Bun | 1.3.13 |
| Java (GraalVM Community) | 24 |
| Docker | any recent |
| just | any recent |
We recommend using mise or asdf with the .tool-versions file at the repo root to pin exact versions.
just install # bun install + verify gradlewEnvironment Variables
Section titled “Environment Variables”For frontend tracking (PostHog), the following environment variables need to be set in a .env file in the frontend directory, and provided during deployment:
| Variable | Description |
|---|---|
VITE_PUBLIC_POSTHOG_KEY | The public project API key from your PostHog project settings. |
VITE_PUBLIC_POSTHOG_HOST | The PostHog instance host (e.g., https://eu.i.posthog.com). |