grafana/README.md
Torkel Ödegaard f99e1ba441 Updated readme
2015-01-09 10:16:01 +01:00

881 B

Work in progress Grafana 2.0 (with included Grafana backend)

wercker status

building and running

Before trying to build make sure the grafana frontend git submodule is loaded.

By clone recursive

git clone --recursive <this_repo>

In case of after clone

git submodule update --init

Building

go run build.go setup (only needed once to install godep)
go run build.go build

For quicker builds:

godep restore (will pull down all golang lib dependecies in your current GOPATH)
go build -o ./bin/grafana .

To build less to css for frontend:

cd grafana
npm install
npm install -g grunt-cli
grunt

To rebuild on source change:

go get github.com/Unknwon/bra

bra run