If you want to build a package yourself, or contribute. Here is a guide for how to do that.
- Go 1.5
- NodeJS >=6.2.1
go get github.com/toni-moreno/snmpcollector
Replace X.Y.Z by current version number in package.json file
cd $GOPATH/src/github.com/toni-moreno/snmpcollector
go run build.go setup (only needed once to install godep)
godep restore (will pull down all golang lib dependencies in your current GOPATH)
go run build.go build
npm install
PATH=$(npm bin):$PATH
npm run tsc
cd public/
ln -s ../node_modules/ ./node_modules
cd ..
To rebuild on source change (requires that you executed godep restore)
go get github.com/Unknwon/bra
bra run