bun install-
Populate a
.envbased on the provided.env.example -
In your Discord application, add an OAuth2 redirect pointing to
<deployment_url>/api/auth/callback/discord -
Initialise Postgres with database schema:
docker compose up -d postgres # start Postgres
bun run db:push
docker compose stop postgres # optional: stop Postgres for nowLaunch Valkey & Postgres, and run the Vite dev server & core backend (--watch) in parallel:
bun run devGenerate Better Auth's schema files:
bun run better-auth:generatePush & migrate schema changes to Postgres:
bun run db:pushBuild SvelteKit's Node server:
bun run buildLaunch Valkey & Postgres, and run the Node server & core backend in parallel:
bun run prod
