You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,13 +74,15 @@ The frontend now uses these backend route handlers for spaces, posts, reactions,
74
74
75
75
1. Create a Supabase project.
76
76
2. Copy `.env.example` to `.env.local`.
77
-
3. Fill in `NEXT_PUBLIC_SUPABASE_URL`, `SUPABASE_SERVICE_ROLE_KEY`, `MUMBL_TOKEN_HASH_SECRET`, `MUMBL_SIDE_QUEST_ENCRYPTION_KEY`, and `CRON_SECRET`.
77
+
3. Fill in `NEXT_PUBLIC_SUPABASE_URL`, `NEXT_PUBLIC_SUPABASE_ANON_KEY`, `SUPABASE_SERVICE_ROLE_KEY`, `MUMBL_TOKEN_HASH_SECRET`, `MUMBL_SIDE_QUEST_ENCRYPTION_KEY`, and `CRON_SECRET`.
78
78
4. Authenticate the Supabase CLI with `npx supabase login`.
79
79
5. Run `npm run db:link -- your-project-ref` or `npm run db:link -- https://your-project.supabase.co`.
80
80
`npm run db:link:staging` reads `.env.local`; `npm run db:link:prod` reads `.env.production.local`.
81
-
6. Run `npm run db:push` to apply `supabase/migrations/0001_initial_schema.sql`.
81
+
6. Run `npm run db:push` to apply the migrations.
82
82
7. Restart `npm run app`.
83
83
84
+
For dump login, enable Supabase Google OAuth and allow `/auth/callback` in the Supabase Auth redirect URLs for each environment, for example `http://127.0.0.1:3000/auth/callback` locally and `https://mumbl.wtf/auth/callback` in production. Email magic-link code is kept dormant for now; custom SMTP is recommended before exposing it again.
85
+
84
86
Until those variables exist, API routes return a setup `503`.
0 commit comments