2014-12-30 17:37:00 +08:00
|
|
|
Work in progress Grafana 2.0 (with included Grafana backend)
|
2014-11-26 19:57:16 +08:00
|
|
|
|
2014-12-30 17:37:00 +08:00
|
|
|
[](https://app.wercker.com/project/bykey/0f109051cfaf2a6d94c0eebdc0dcaeae)
|
2015-01-05 23:17:36 +08:00
|
|
|
|
|
|
|
|
## building and running
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
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
|
|
|
|
|
```
|