Skip to main content
LOCAL_SETUP

Get local auth + admin working

This app needs Supabase Auth + Postgres migrations applied. Once configured, you can sign in locally and promote yourself to admin.

Environment checklist
NEXT_PUBLIC_SUPABASE_URL
MISSING
NEXT_PUBLIC_SUPABASE_ANON_KEY
MISSING
SUPABASE_SERVICE_ROLE_KEY (needed for dev promote-me + some admin ops)
MISSING
DEV_ADMIN_PROMOTE_KEY (local dev admin promotion)
MISSING
Edit `jireh-capital-os/.env.local` and restart the dev server after changes.
Apply Supabase migrations
Run the migrations in `supabase/migrations/` on your Supabase project (CLI recommended).