-
Notifications
You must be signed in to change notification settings - Fork 28
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
Workflow #19
Comments
Looks good, some small notes:
So basically, what we should change is adding |
1. I was thinking of a config file specifically for Nhost. Maybe we can name it 2. Think about the following case:
However this introduce another issue. Let's say a user is on Hasura One solution would be to introduce some special flag to Before a user issue 3. |
|
Login
save
~/.nhost/nhost.yaml
Nhost init
Go to local project dir.
nhost init
Get list of projects.
Select project.
Will create .nhost/config.yaml with ex:
project_id: <project_id>
Download and applies migrations / metadata
Now remote and local Hasura are in sync.
Nhost dev
1
Make API request to https://customapi.nhost.io/custom/config?id=&token=
Gets settings, ex Postgres/Hausura/HBP version and other settings for
docker-compose.yaml
.Creates
docker-compose.yaml
based on current settings on Nhost production.2
Pull all dev env vars from Nhost and place in ex .env.development
2
Start docker-compose up -d
3
Start Hasura console using
hasura console
.Github
Migrations will be generated. The idea is that users will commit these migrations and let Nhost apply the migrations to production.
The Github integrations might be a bit over-engineered for now, just applying Hasura migrations but the Github integration will make more sense in the future when we support custom api and hosting.
The text was updated successfully, but these errors were encountered: