From Fedora Project Wiki
Line 37: Line 37:


== building frontend ==
== building frontend ==
=== deps ===
* jquery 2.1.4
* angular 1.5.3
* angular-route 1.5.3
* angular-mocks 1.5.3
* angular-sanitize 1.5.3
* angular-bindonce 0.3.3
* phantomjs (vendored)

Revision as of 13:40, 31 March 2016

Grafana packaging (version 2.6)

source: https://github.com/grafana/grafana

build requirements:

  • go 1.5 (packaged)
  • NodeJS (packaged)
  • grunt (packaged)
  • godeps (not packaged)

Major issue is, build tries to pull down everything from the net, which is not desired on koji.

Building backend


[fedora@f23-grafana-build grafana]$ go run build.go setup
teration beta11459428203
Version: 3.0.0-beta1, Linux Version: 3.0.0, Package Iteration: beta11459428203
go get -v github.com/tools/godep
github.com/tools/godep (download)
github.com/tools/godep/Godeps/_workspace/src/github.com/kr/fs
github.com/tools/godep/Godeps/_workspace/src/github.com/kr/text
github.com/tools/godep/Godeps/_workspace/src/github.com/kr/pretty
github.com/tools/godep/Godeps/_workspace/src/github.com/pmezard/go-difflib/difflib
github.com/tools/godep/Godeps/_workspace/src/golang.org/x/tools/go/vcs
github.com/tools/godep
go get -v github.com/blang/semver
github.com/blang/semver (download)
github.com/blang/semver
go get -v github.com/mattn/go-sqlite3
github.com/mattn/go-sqlite3 (download)
github.com/mattn/go-sqlite3
go install -v github.com/mattn/go-sqlite3


building frontend

deps

  • jquery 2.1.4
  • angular 1.5.3
  • angular-route 1.5.3
  • angular-mocks 1.5.3
  • angular-sanitize 1.5.3
  • angular-bindonce 0.3.3
  • phantomjs (vendored)