news-catalyst / reproducible-tinynews-content-api

A webiny installation complete with scripted content models and graphql
0 stars 0 forks source link

Hasura setup tasks #80

Open jacqui opened 3 years ago

jacqui commented 3 years ago

To help keep track of the steps I'm taking... wasn't sure if this warranted a separate repo. I'll update this as I go.

jacqui commented 3 years ago

Database connection: postgres://hasura:ASK ME FOR PASSWORD@hasura-dev.cdrzy2lvikpk.us-east-1.rds.amazonaws.com:5432/hasura_dev

Hasura Project: https://cloud.hasura.io/project/1f4ba420-516e-4b05-8d0e-5b6bcab99c50/details

jacqui commented 3 years ago

I tried to use the hasura cli but I think I must be doing something wrong:

○ → hasura console --endpoint https://tinynews-stack.hasura.app/v1/graphql --log-level DEBUG DEBU global config file exisits, verifying contents DEBU global config is pre-set to &cli.GlobalConfig{UUID:"360ed5cb-b928-4413-a422-d5197a0c3029", EnableTelemetry:true, ShowUpdateNotification:true, CLIEnvironment:"default"} DEBU global config: uuid: 360ed5cb-b928-4413-a422-d5197a0c3029 DEBU global config: enableTelemetry: true
DEBU global config: showUpdateNotification: true
DEBU global config: cliEnvironment: default
DEBU cannot get config information from server, this might be because config API is not enabled: error fetching server config: [not-found] resource does not exist ($) DEBU graphql engine endpoint: https://tinynews-stack.hasura.app/v1/graphql DEBU graphql engine admin_secret:
DEBU versions: cli: [v1.3.3] server: []
DEBU compatibility check: [true] server with no version treated as pre-release build DEBU server state: errors: [json: cannot unmarshal object into Go value of type []util.hdbVersion] DEBU server: uuid: 00000000-0000-0000-0000-000000000000 DEBU response: {"path":"$","error":"resource does not exist","code":"not-found"} DEBU Data Error: {"path":"$","error":"resource does not exist","code":"not-found"} DEBU Data Error: {"path":"$","error":"resource does not exist","code":"not-found"} DEBU telemetry: beamed fields.time=1.384500156s isError=true FATA[0005] error creating migrate instance: cannot create migrate instance: Data Error: {"path":"$","error":"resource does not exist","code":"not-found"}

I'm going to use the web console for now so I'm not stuck.