How to install Grafana on Mac -


i tied following steps

cd $gopath/src/github.com/grafana/grafana go run build.go setup got following version: 2.5.0-pre1, linux version: 2.5.0, package iteration: pre1 go -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/pmezard/go-difflib/difflib github.com/tools/godep/godeps/_workspace/src/golang.org/x/tools/go/vcs github.com/tools/godep go -v github.com/blang/semver github.com/blang/semver (download) github.com/blang/semver go -v github.com/mattn/go-sqlite3 go install -v github.com/mattn/go-sqlite3

then executed

$gopath/bin/godep restore got no putput command got executed

then ran command

go run build.go build

version: 2.5.0-pre1, linux version: 2.5.0, package iteration: pre1 rm -r bin rm -r godeps/_workspace/pkg rm -r godeps/_workspace/bin rm -r dist rm -r tmp rm -r /users/skhare/sk/go/pkg/darwin_amd64/github.com/grafana rm -r ./bin/grafana-server rm -r ./bin/grafana-server.md5  gopath=/users/skhare/sk/go/src/github.com/grafana/grafana/godeps/_workspace:/users/skhare/sk/go go build -ldflags -w -x main.version '2.5.0-pre1' -x main.commit 'v2.1.2+394-    gfb767f5' -x main.buildstamp 1442671169 -o ./bin/grafana-server . # github.com/grafana/grafana link: warning: option -x main.version 2.5.0-pre1 may not work in future releases; use -x main.version=2.5.0-pre1 link: warning: option -x main.commit v2.1.2+394-gfb767f5 may not work in future releases; use -x main.commit=v2.1.2+394-gfb767f5 link: warning: option -x main.buildstamp 1442671169 may not work in future releases; use -x main.buildstamp=1442671169 

then executed

npm install

i had install npm

>npm install -g grunt-cli /usr/local/bin/grunt -> /usr/local/lib/node_modules/grunt-cli/bin/grunt grunt-cli@0.1.13 /usr/local/lib/node_modules/grunt-cli ├── resolve@0.3.1 ├── nopt@1.0.10 (abbrev@1.0.7) └── findup-sync@0.1.3 (lodash@2.4.2, glob@3.2.11)  >grunt  running "jscs:src" (jscs) task >> 156 files without code style errors.  running "jshint:source" (jshint) task  ✔ no problems   running "jshint:tests" (jshint) task  ✔ no problems   running "tslint:source" (tslint) task >> 11 files lint free.  running "clean:gen" (clean) task cleaning public_gen...ok  running "copy:public_to_gen" (copy) task created 122 directories, copied 553 files  running "less:src" (less) task file public_gen/css/bootstrap.dark.min.css created. file public_gen/css/bootstrap.light.min.css created. file public_gen/css/bootstrap-responsive.min.css created.  running "concat:cssdark" (concat) task file public_gen/css/grafana.dark.min.css created.  running "concat:csslight" (concat) task file public_gen/css/grafana.light.min.css created.  running "typescript:build" (typescript) task 42 files created. js: 14 files, map: 14 files, declaration: 14 files (968ms)  done, without errors.  >go github.com/unknwon/bra 

the above command did not give output, nor error message

bra run says -bash: bra: command not found

i tried resolution, not find it. please help

recompile backend on source change rebuild on source change (requires executed godep restore)

go github.com/unknwon/bra bra run 

running grafana locally can run local instance of grafana running:

 ./bin/grafana-server  

you must have missed step!

 go github.com/unknwon/bra 

Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -