Skip to content

programmerbar/mono

Repository files navigation

Programmerbar Website

Prerequisites

How to run locally

  1. Fill in env-variables

    cp apps/www/.dev.vars.example .dev.vars
  2. Fill in the empty variables

  3. Install dependencies

    pnpm install
  4. Apply migrations

    pnpm db:migrate -- --local
  5. Start the development server

     pnpm dev

Add invitation

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>"

Technologies

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.

Deployment

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.

Releases

No releases published

Packages

No packages published