diff --git a/README.md b/README.md index 21922de75..546b9e8ea 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/bootstrap.sh b/bootstrap.sh index cd9ec37c2..6af1fb3ea 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -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