Problems trying to contrib #6729
-
Hi folks, I recently got to know about hasura at my workplace and am interested in contributing. Got some troubles however trying to setup console. My graphql engine was deployed via 1-click-deploy on heroku, my local repo has .env like this:
My fork is in sync with master When I first load the console, it opens up the field to type admin-secret. In the browser's network tab, there's a request to metadata API with the query I believe this is something about metadata endpoint being /v1/metadata or /v1/query in Endpoints.ts Then I type my admin secret and hit "enter": Before I sync`ed my repo, I was getting errors trying to connect to datasource, which I believe comes from the same root cause causing this issue. If someone with more knowledge of the codebase could lend a hand would be awesome. Ty @tylerhannan for pointing me here from discord. I also accept suggestions on how I could setup a development environment. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @TheTalesman, https://heroku.com/deploy?template=https://github.com/soorajshankar/graphql-engine-heroku |
Beta Was this translation helpful? Give feedback.
Hi @TheTalesman,
This could be because the Hasura server that you are running on heroku is older and the console codebase that you are trying to run is from the
main
branch (there are a bunch of api changes happened with Hasura 2). I think the heroku one click deployment is trying to deploy the latest stable release (1.3.3).If you want to run hasura console, you will need a Hasura 2 server, you can either spin up a Hasura Project on Hasura cloud or you can try deploying a newer version to heroku using the following link.
https://heroku.com/deploy?template=https://github.com/soorajshankar/graphql-engine-heroku