-
Go to
hasura/config.yaml
and commment in the stagingadmin_secret
&endpoint
values. -
Go to
hasura/metadata/databases/databases.yaml
and comment in the stagingdatabase_url
value.
From inside the /hasura
directory, run the following command:
$ hasura console
-
Go to
hasura/config.yaml
and commment in the productionadmin_secret
&endpoint
values. -
Go to
hasura/metadata/databases/databases.yaml
and comment in thedatabase_url
value. -
Run this command to apply migrations
$ hasura migrate apply --all-databases
- Run the following two commands to apply metadata/permissions
$ hasura metadata apply --endpoint 'https://apemonitor-production.herokuapp.com/'
$ hasura metadata reload --endpoint 'https://apemonitor-production.herokuapp.com/'