Skip to content

Development Setup

How to set up Mithril Forge for local development.

ToolVersion
Bun1.3.13
Java (GraalVM Community)24
Dockerany recent
justany recent

We recommend using mise or asdf with the .tool-versions file at the repo root to pin exact versions.

Terminal window
just install # bun install + verify gradlew

For frontend tracking (PostHog), the following environment variables need to be set in a .env file in the frontend directory, and provided during deployment:

VariableDescription
VITE_PUBLIC_POSTHOG_KEYThe public project API key from your PostHog project settings.
VITE_PUBLIC_POSTHOG_HOSTThe PostHog instance host (e.g., https://eu.i.posthog.com).