blockform icon indicating copy to clipboard operation
blockform copied to clipboard

Hi, have problems :(

Open carlosgub opened this issue 6 years ago • 7 comments

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.

carlosgub avatar Apr 20 '19 01:04 carlosgub

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

sihoang avatar Apr 22 '19 05:04 sihoang

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 avatar Apr 23 '19 00:04 carlosgub

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 avatar Apr 23 '19 00:04 carlosgub

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

carlosgub avatar Apr 23 '19 01:04 carlosgub

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.

kivutar avatar Apr 23 '19 04:04 kivutar

: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 :(

carlosgub avatar Apr 23 '19 16:04 carlosgub

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

Have you tried this yet?

kivutar avatar May 06 '19 02:05 kivutar