From b29cc9e9256099b3e207da95ab4dd2807e19198e Mon Sep 17 00:00:00 2001 From: Jonathan Zernik Date: Fri, 30 Oct 2020 12:42:32 -0400 Subject: [PATCH] Add build instructions for protoc in readme (#348) * Add build instructions for protoc in readme * Fix protoc download urls --- frontend/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frontend/README.md b/frontend/README.md index 293d1d17..4fdc2a2f 100755 --- a/frontend/README.md +++ b/frontend/README.md @@ -4,6 +4,14 @@ - Install `protoc` and `protoc-gen-grpc-web`: https://github.com/grpc/grpc-web#code-generator-plugin + ``` + curl -sSL https://github.com/protocolbuffers/protobuf/releases/download/v3.12.2/protoc-3.12.2-linux-x86_64.zip -o protoc.zip && \ + unzip -qq protoc.zip && \ + cp ./bin/protoc /usr/local/bin/protoc + + curl -sSL https://github.com/grpc/grpc-web/releases/download/1.2.1/protoc-gen-grpc-web-1.2.1-linux-x86_64 -o /usr/local/bin/protoc-gen-grpc-web && \ + chmod +x /usr/local/bin/protoc-gen-grpc-web + ``` - Run `./build-protos.sh` ## Run in dev mode