/groupli.app

Pair everyone in your group with someone new.

Primary LanguageTypeScript

Groupli.app

Local development

Setup

  1. direnv allow
  2. pnpm i
  3. wrangler d1 migrations apply stag-d1-groupify --local to run db migrations

With tracing

  1. Create a file .dev.vars in the root of the repo with the following content:
    # Local
    OTLP_URL=http://localhost:4318/v1/traces
    # Auth not needed for local
    # OTLP_AUTH="Basic XXX"
    
  2. nix run to get Grafana/Tempo running locally
  3. Run the project (dev or preview)
  4. Click on the "Get Started" button (will take about 15 sec the first time) and add some members.
  5. See traces under http://localhost:4000/explore

Run dev with hot reloading

  1. pnpm dev
  2. Open http://localhost:3000

Run preview build locally on Cloudflare env

  1. pnpm preview (first time will throw an error -> Try again and it will work)
  2. Open http://localhost:8788
    1. Click on the "Get Started" will take about 15 sec the first time