mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-13 12:33:25 +02:00
Add build instructions for protoc in readme (#348)
* Add build instructions for protoc in readme * Fix protoc download urls
This commit is contained in:
parent
f8cda6fef2
commit
b29cc9e925
1 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue