First, make sure that Go is installed. This project was developed for version 1.13, so that is the recommended version to use. Then, install dep.
When that is done, run the following commands.
cd $GOPATH/src/github.com && git clone https://github.com/axelniklasson/self-stabilizing-uniform-reliable-broadcast
cd self-stabilizing-uniform-reliable-broadcast
go get -u golang.org/x/lint/golint
echo "go vet ./... && go list ./... | xargs -n 1 golint -set_exit_status && go test -v ./..." >> .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit scripts/*.sh
dep ensure
./scripts/start.sh NUMBER_OF_NODES
All unit tests can be run through the bash script as sh scripts/test.sh.