Use Supabase CLI to Login and Init Project

Ben Patton
InstructorBen Patton
Share this video with your friends

Social Share Links

Send Tweet
Published 10 months ago
Updated 3 weeks ago

With our project setup we will use our supabase dev dependency to run the supabase cli. We will login to our supabase account and then init the project locally.

To run supabase locally you need to have Docker installed and running on your computer. To install Docker and get it setup visit this link - https://docs.docker.com/desktop/

[00:00] We can run MPX super base login. And so it needs our access token. So we can find our access token if we come back to our organization. And under account, you'll see access tokens. And we'll need to generate a new token, and we'll call it to do's app access token. [00:19] And then we can copy that and back in our and paste your access token here. And so it won't show it, but the value is there. Then click enter, and then we are now logged in. And before we start local development, you need to make sure that Docker is running. So if you have Docker already installed, then you just need to go and start up Docker. If not, then you can come to their website, and [00:39] it'll give you the correct package that you need for installation here. So then just grab the one that's appropriate for your machine and install it, and you can go ahead and run npx Supabase init. Yes. So now we have our Supabase folder and it has all of the config information here.

egghead
egghead

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today