DEV Community

Discussion on: Setup Hasura at Google Cloud Run

Collapse
 
lughnizaid profile image
Lughnizaid • Edited

hi

this is great guide. I have a question.

how to define this? "user" "password" and "database" ? :) thank you

Collapse
 
lughnizaid profile image
Lughnizaid

Hi i managed it, the data about user, password, and database can be found in cloud sql.

Now i wonder ho to push the local hasura in google cloud....

Best regards

Collapse
 
davidoliveira profile image
David Oliveira

Hi,
First of all, I am sorry by not replied to you about the password of database. I need to check why I am not receiving notifications. Yes, everything about the database is at Google Cloud SQL section.
About your last question "push the local hasura", well, it's also not about Hasura, but about Database management. The direct way and easy way is to dump your local database and restore it into Google Cloud, but it's not the correct way, it will override all your data.
So, even Hasura born as a GraphQL Engine, they do offer us extra cool things, like Migrations, you can use them to do your development locally and apply migrations to your online database instance, and they can be automated with a Continuous Pipeline to push them into your DEV, QA, PRD environments if you have that kind of organization.
You can check all the documentation about it at: hasura.io/docs/1.0/graphql/manual/...
Best Regards