Skip to content

Get started

  1. 01

    Create a Discord application, add a bot, and copy the application id, public key, bot token, and OAuth client secret.

  2. 02

    Set the OAuth redirect to https://your-domain/api/auth/discord/callback. Locally that is http://localhost:3000/api/auth/discord/callback.

  3. 03

    Copy .env.example to .env and run node infrastructure/scripts/new-secrets.mjs for the session, encryption, and internal tokens.

  4. 04

    Start Postgres and Redis with docker compose up -d, then pnpm db:deploy && pnpm db:seed && pnpm dev.

  5. 05

    Open the dashboard, sign in with Discord, and invite the bot. Privileged intents are not required for this phase.

Production installation for Ubuntu 24.04 is in docs/DEPLOYMENT.md. The full route list is in docs/API.md.