-
Notifications
You must be signed in to change notification settings - Fork 48
getting started_how to build
Hayarobi Park edited this page Dec 4, 2018
·
5 revisions
- If you haven't already, install homebrew
- Install go, glide, cmake and (optionally) protobuf
brew install go
brew install glide
brew install cmake
- Install aergo
go get -d github.com/aergoio/aergo
cd `go env GOPATH`/src/github.com/aergoio/aergo
git submodule init
git submodule update
make
- Run server
./bin/aergosvr
Only need if you changeed protobuf files.
- Install protobuf and protoc-gen-go
brew install protobuf
GIT_TAG="v1.1.0" # set version of protoc-gen-go to 1.1.0, on which aergo v0.8.x depends.
go get -u github.com/golang/protobuf/protoc-gen-go
git -C "$(go env GOPATH)"/src/github.com/golang/protobuf checkout $GIT_TAG
go install github.com/golang/protobuf/protoc-gen-go
- Generate from protobuf files
make protoc
- Install aergo and so on.