Execute the following commands to setup all the necessary resources:
- Create a local .env file with
cp .env.example .env
; - Log in to the Supabase CLI with
supabase login
; - Create Supabase's config file with
cp supabase/config.toml.example supabase/config.toml
; - Edit the
supabase/config.toml
file to include theclient_id
andsecret
for each "auth.external" section. You can learn more on how to obtain those values here; - Start all necessary containers with
supabase start
; - After the above command finished, copy the "API URL" and "anon key" outputed by it and put them on the
NEXT_PUBLIC_SUPABASE_URL
andNEXT_PUBLIC_SUPABASE_ANON_KEY
variables on the.env
file, respectively;
Simply open a terminal window and run yarn dev
to spin up a local server on port 3000!