Skip to content
H4L0 edited this page May 21, 2026 · 11 revisions

Setting up dev

Main command: ./dev.sh runs Vite (client) and tsx watch (server) directly, no pnpm wrapper.

Migration from bun to pnpm was done for two reasons:

  • Allows better handling of deps/conf files.
  • Package manager bun was segfaulting/sigill during dev.

Main command: ./dev.sh and useToken("dev") in DevTools Console.

To nuke local dev data: rm -rf ./apps/server/data/


Requirements

All your host needs is pnpm and nodejs installed. (I assume linux. But you can just use docker on Winslows/MacOS)

On first launch it will download mediasoup release from mediasoup-github so that you do not need to build it manually.

We also have the same setup inside docker through caesar-dev profile.


Prod-dev testing

Docker has a variant for tls internal on 8443 in case you have another site on 443 and want to test prod build:

Self-signed cert from its local CA on first start, so https://localhost:8443 works without DNS or a public CA. Browsers will warn on first visit; accept once per browser profile. Can also go to DevTools look out for alt-svc to say h3 (HTTP3 working).

./up.sh --prod-dev


Stack

tRPC Mediasoup Drizzle ORM React Radix UI ShadCN UI Tailwind CSS


Pre-commit

Useful to run prettier on commit .pre-commit-config.yaml

Discord Alternative per your rules. Fork of Sharkord.

Clone this wiki locally