Self-host
Testing
Running the test suite and environment considerations.
Tests live next to source as *.test.ts (and similar) under apps/web.
Run all tests
From the repository root:
bun testThis runs the Bun test runner for the web package via Turbo.
Environment
Some tests set DATABASE_URL or VIEWER_ACCESS_SECRET. For integration-heavy suites, use a dedicated test database so local runs do not touch development data.
Typechecking
bun run typecheck runs tsc --noEmit for apps/web only. The docs app has separate checks: bun run docs:types.