Setup
- If you haven't already, setup Supabase
- Install Docker Desktop
- Copy
.env.example
into.env.local
and.env
cp .env.example .env.local
cp .env.example .env
- Start the Supabase server
supabase start
- Start the functions server (in new terminal)
supabase functions serve --env-file .env.local --import-file supabase/functions/deno.json
info
You can run change the --env-file
to .env
to use the production environment variables. Useful when testing out Stripe production env in local supabase env.
info
You can access a local version of the Supabase dashboard by visitng http://localhost:54323/