grafana/README.md

50 lines
881 B
Markdown
Raw Normal View History

2014-12-30 03:37:00 -06:00
Work in progress Grafana 2.0 (with included Grafana backend)
2014-11-26 05:57:16 -06:00
2014-12-30 03:37:00 -06:00
[![wercker status](https://app.wercker.com/status/0f109051cfaf2a6d94c0eebdc0dcaeae/s "wercker status")](https://app.wercker.com/project/bykey/0f109051cfaf2a6d94c0eebdc0dcaeae)
## building and running
2015-01-09 03:16:01 -06:00
Before trying to build make sure the grafana frontend git submodule is loaded.
2015-01-09 03:16:01 -06:00
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
```