include protoc requirement in bootstrap & readme

This commit is contained in:
David Zhao
2021-05-17 12:59:00 -07:00
parent ce0ebd72f1
commit 79e4151f8d
2 changed files with 13 additions and 1 deletions
+7 -1
View File
@@ -32,7 +32,13 @@ Server APIs:
### From source
Ensure Go 1.15+ is installed, and GOPATH/bin is in your PATH.
Pre-requisites:
* Go 1.15+ is installed
* GOPATH/bin is in your PATH
* [protoc](https://grpc.io/docs/protoc-installation/) is installed and in PATH
Then run
```shell
git clone https://github.com/livekit/livekit-server
+6
View File
@@ -1,5 +1,11 @@
#!/bin/bash
if ! command -v protoc &> /dev/null
then
echo "protoc is required and not found. please install"
exit 1
fi
if ! command -v mage &> /dev/null
then
pushd /tmp