From Fedora Project Wiki
Line 11: Line 11:
Major issue is, build tries to pull down everything from the net, which is not desired on koji.
Major issue is, build tries to pull down everything from the net, which is not desired on koji.


== Building backend ==
----
----
<pre>
<pre>
Line 33: Line 34:


</pre>
</pre>
== building frontend ==

Revision as of 12:49, 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