-
Fill in env-variables
cp apps/www/.dev.vars.example .dev.vars
-
Fill in the empty variables
-
Install dependencies
pnpm install
-
Apply migrations
pnpm db:migrate -- --local
-
Start the development server
pnpm dev
- Website will run on http://localhost:5173
- Sanity will run on http://localhost:3333
To be able to login you need to create an invitation for yourself. You can do this by running the following command:
pnpm dlx tsx ./apps/www/scripts/add-invitation.ts "<your-email>"
The architecture heavliy relies on Cloudflare Pages and associated services like D1 and KV. The website is built with SvelteKit, and uses Sanity as a headless CMS.
The website will be deployed to Cloudflare Pages automatically when a PR is merged to main
. Any migrations will also be applied to the production database automatically.