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.tomlfile to include theclient_idandsecretfor 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_URLandNEXT_PUBLIC_SUPABASE_ANON_KEYvariables on the.envfile, respectively;
Simply open a terminal window and run yarn dev to spin up a local server on port 3000!