Finish setting up Crackers ERP

Connect your database to get started — three quick steps.

  1. 1. Add your Supabase keys

    Create a project at supabase.com, then paste the Project URL and keys into .env.local:
    • NEXT_PUBLIC_SUPABASE_URL
    • NEXT_PUBLIC_SUPABASE_ANON_KEY
    • SUPABASE_SERVICE_ROLE_KEY
  2. 2. Run the migrations

    In the Supabase SQL editor, run the three files in supabase/migrations/ in order (0001 → 0002 → 0003). The first account you create becomes the admin.
  3. 3. Restart the dev server

    Stop and re-run the app so it picks up the new environment.