Skip to main content

Setup

  1. If you haven't already, setup Supabase
  2. Install Docker Desktop
  3. Copy .env.example into .env.local and .env
cp .env.example .env.local
cp .env.example .env
  1. Start the Supabase server
supabase start
  1. 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/