Skip to content

sbengo/snmpcollector

 
 

Repository files navigation

snmpcollector

Run from master

If you want to build a package yourself, or contribute. Here is a guide for how to do that.

Dependencies

  • Go 1.5
  • NodeJS >=6.2.1

Get Code

go get github.com/toni-moreno/snmpcollector

Building the backend

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

Building frontend assets

npm install
PATH=$(npm bin):$PATH
npm run tsc
cd public/
ln -s ../node_modules/ ./node_modules
cd ..

Recompile backend on source change

To rebuild on source change (requires that you executed godep restore)

go get github.com/Unknwon/bra
bra run

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 73.4%
  • TypeScript 11.8%
  • HTML 9.2%
  • CSS 5.0%
  • JavaScript 0.6%