Follow these steps to set up your local Supabase development environment:
<aside> <img src="/icons/info-alternate_gray.svg" alt="/icons/info-alternate_gray.svg" width="40px" />
The Supabase CLI uses Docker containers to manage the local development stack. Follow the official guide to install and configure Docker Desktop:
</aside>
Create a new Supabase project in your current directory:
supabase init
Launch the Supabase local development stack:
supabase start
This command starts all necessary Docker containers for your local development.
Log in to your Supabase account:
supabase login
Connect your local project to your remote Supabase instance:
supabase link --project-ref lqhlpajntaewohpdqnwk
<aside> Note: You'll need to enter the database password. This can be found in NordPass under "Altly DB Password".
</aside>
Pull the current database schema:
supabase db pull --schema public
<aside> If prompted for repair, select 'yes' to proceed.
</aside>