Once you are ssh'd into the mesos-demo
VM:
cd hostfiles/go
export GOPATH=$PWD
go get github.com/golang/protobuf/{proto,protoc-gen-go}
go get github.com/mesos/mesos-go
go install github.com/mesosphere/rendler/scheduler
./bin/scheduler -seed http://mesosphere.io -master 127.0.1.1:5050 -local
RENDLER_HOME=. ../bin/make-pdf