- `npx src/scripts/createTopic.ts'
- copy generated topic id to
.env.local
- set environment variables in
.env.localcp example.env .env.local
- Docker must be running if running supabase locally
- supabase login:
npx supabase login - start supabase:
npx supabase start - see links and keys:
npx supabase status
https://supabase.com/docs/guides/cli/managing-environments
npx supabase db remote commit: commit changes from supabase cloudnpx supabase gen types typescript --linked > src/types/supabase.ts
-
apply migration / test autogenerated migration:
npx supabase db reset -
add migration from changes in ui:
npx supabase db diff --use-migra -f supabase/<descriptive_name> -
https://supabase.com/docs/guides/cli -
npx supabase status -
npx supabase db reset -
src/supabase/config.toml
In local development, emails are not actually sent - rather, they are monitored, and you can view the emails that would have been sent from the web interface.
- Start the local dev server:
npm run dev