From c0847d0b3cd0972829ebfe48c3e4484f2a25817e Mon Sep 17 00:00:00 2001 From: Jehan Date: Tue, 24 Aug 2021 16:22:55 -0700 Subject: [PATCH] Update environment-setup.md --- docs/developer/environment-setup.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/developer/environment-setup.md b/docs/developer/environment-setup.md index 11bcd1e63..f6f30cd95 100644 --- a/docs/developer/environment-setup.md +++ b/docs/developer/environment-setup.md @@ -18,6 +18,12 @@ Gravity bridge has three major components Follow the official guide [here](https://golang.org/doc/install) +Make sure that the go/bin directory is in your path by adding this to your shell profile (~/.bashrc or ~/.zprofile) + +``` +export PATH=$PATH:$(go env GOPATH)/bin +``` + ### Installing NodeJS Follow the official guide [here](https://nodejs.org/en/) @@ -80,6 +86,10 @@ make proto-update-deps # Installing the protobuf tooling sudo make proto-tools + +# Install protobufs plugins +go get github.com/regen-network/cosmos-proto/protoc-gen-gocosmos +go get github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway ``` ```