JMAI OPS
First-run setup
Finish configuring JMAI OPS
The app needs its Supabase project and encryption keys before it can run.
Copy
.env.example to .env.local and fill in the values below.Create a Supabase project
Copy the project URL, anon key and service-role key into NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY and SUPABASE_SERVICE_ROLE_KEY.
Generate the crypto keys
Run `npm run gen:keys` and paste the output into ENCRYPTION_KEY and TOKEN_HASH_SECRET.
Apply the migrations
Run `npx supabase link` then `npm run db:push`, and enable the Customize Access Token hook in Authentication → Hooks.
Full instructions, including the seed script for a first super admin, are in the project README.