lvisuel

Finish connecting your database

The marketplace is installed but no Supabase credentials were found. Every page reads live data, so the app needs a database before it can render.

  1. 1

    Create a Supabase project

    Sign in at supabase.com and create a project (or run `supabase start` locally with Docker).

  2. 2

    Copy your keys into .env.local

    NEXT_PUBLIC_SUPABASE_URL=https://xxxx.supabase.co
    NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJ...
    SUPABASE_SERVICE_ROLE_KEY=eyJ...
    NEXT_PUBLIC_SITE_URL=http://localhost:3000
  3. 3

    Apply the schema and seed the catalogue

    npm run db:push     # migrations + row level security + storage buckets
    npm run db:seed     # packages, add-ons, categories, 10 applications
  4. 4

    Promote your first admin

    Register through /register, then run `npm run make:admin your@email.com`.

Full instructions are in README.md, and the schema design is documented in docs/ARCHITECTURE.md.