← Docs

Getting started

Run OmniStudio locally.

Install

cp .env.example .env.local
openssl rand -hex 32   # BETTER_AUTH_SECRET
openssl rand -hex 32   # ENCRYPTION_KEY
docker compose up -d db mailpit
pnpm install
pnpm db:migrate
pnpm dev

Web runs on port 3000, the public site on 4321, Mailpit on 8025.

Scheduled work

Run the queue worker in a second terminal:

pnpm worker

The worker fires goals, publishes due posts, and expires unanswered approvals.