A statistics collector / aggregator, written in go
-
Install the DataStax Community Edition of Apache Cassandra 2.0 via these instructions
-
Start Cassandra
sudo nohup $HOME/cassandra-2.0.8/bin/cassandra
Export the following environment variables
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOBIN
Install Nanomsg (OS X)
brew install nanomsg
Install Protocol Buffers (OS X)
brew install protobuf
Install the following package dependencies
go get github.com/onsi/ginkgo/ginkgo
go get github.com/onsi/gomega
If you are using godep, then just
godep restore
, otherwise, install the rest of these dependencies:
go get github.com/gocql/gocql
go get github.com/op/go-nanomsg
go get github.com/cihub/seelog
go get github.com/googollee/go-socket.io
Rebuild gogoprotobuffer messages
go get -u code.google.com/p/gogoprotobuf/{proto,protoc-gen-gogo,gogoproto}
protoc --gogo_out=. -I=.:code.google.com/p/gogoprotobuf/protobuf -I=$GOPATH/src/ -I=$GOPATH/src/code.google.com/p/gogoprotobuf/protobuf *.proto
from the project root
cd cassandra
./cassandra.sh