Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can Supabase Extension for VS Code work with Supabase Cloud? #26

Open
joewinke opened this issue Sep 19, 2024 · 3 comments
Open

Can Supabase Extension for VS Code work with Supabase Cloud? #26

joewinke opened this issue Sep 19, 2024 · 3 comments
Labels
question Further information is requested

Comments

@joewinke
Copy link

joewinke commented Sep 19, 2024

I've installed it and it wants me to run supabase start - but so far I have done everything via the cloud. Is it necessary? When I ran supabase start before it felt like it was creating another version that would 'compete' with the cloud. Do I have that right or do I need to run local to use the extension?
Screenshot 2024-09-19 at 5 00 14 PM

@joewinke joewinke added the bug Something isn't working label Sep 19, 2024
@thorwebdev
Copy link
Collaborator

Currently the extension relies on the supabase stack running locally. But we're planning to integrate it with the management API so you can log in with your Supabase account. You can follow along here: #9

@thorwebdev thorwebdev added question Further information is requested and removed bug Something isn't working labels Sep 20, 2024
@joewinke
Copy link
Author

@thorwebdev thanks! is there any downside to me using supabase start if i'm using the cloud? will they conflict or get out of sync or anything like that?

@thorwebdev
Copy link
Collaborator

thorwebdev commented Sep 24, 2024

@joewinke you will want to use a workflow like this: https://supabase.com/docs/guides/cli/managing-environments

So once you've got the CLI installed, follow these steps:

  • Init your local project: supabase init
  • Link your cloud project to your local project: supabase link
  • Pull down the database from your cloud project: supabase db pull
  • Now your database is in sync and you can start it locally: supabase db start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants