Skip to content
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

Hi, have problems :( #74

Open
carlosgub opened this issue Apr 20, 2019 · 7 comments
Open

Hi, have problems :( #74

carlosgub opened this issue Apr 20, 2019 · 7 comments

Comments

@carlosgub
Copy link

Hi I read your Readme.md and I download the Json for my GCP cloud and in the Set environment variables part. I dont know where I need to put the credentials, and in the readme dont said if that is before or after of run the command go build && ./blockform.

@sihoang
Copy link
Member

sihoang commented Apr 22, 2019

@carlosgub Thanks for the question. We will definitely make it clearer in the README.
You need to export the env variables before running ./blockform

@carlosgub
Copy link
Author

Hi, ty I check if with that i dont have problems, but the json of GCP is putting the Path or puting in a line?

@carlosgub
Copy link
Author

Mmm where I need to export the variables, if I only use GCP I need to edit the gcp/main.go file?
I had this error 2019/04/22 19:52:12 dial tcp [::1]:5432: connect: connection refused after changed the file :D

@carlosgub
Copy link
Author

Another thing is how can I put the Json on main.go :D ?

@kivutar
Copy link
Contributor

kivutar commented Apr 23, 2019

You need to export the GCP variables in the command line window where you are going to launch the program.

You don't have to edit the main.go source code.

Just export the json string like said in the readme:

export GCP_JSON="{xxxx}"
export GCP_PROJECT="my-blockform"

The GCP_JSON is the json content, not the path, as the {} suggests.

@carlosgub
Copy link
Author

:O sorry for the that, Thanks :D y try one more time :D @kivutar I later I want to talk with you. if you can help me. If you know how can I connect to my private node with Metamask, because I cant :(

@kivutar
Copy link
Contributor

kivutar commented May 6, 2019

Metamask has a network switcher that lets you add the custom RPC endpoint of your private node.

Have you tried this yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants