grafana

步骤:

一、环境准备

  1. 下载 grafana 源码: https://github.com/grafana/grafana
  2. 安装 gcc:https://nchc.dl.sourceforge.net/project/mingw/Installer/mingw-get-setup.exe
  3. 安装 go

二、后端安装

$ go get github.com/Unknwon/bra
$ go get github.com/grafana/grafana
$ cd $GOPATH/src/github.com/grafana/grafana
$ go run build.go setup
$ go run build.go build

三、前端安装

$ yarn
$ npm rebuild node-sass

四、启动

# 后端启动
$ GOPATH/bin/bra run

# 前端启动
$ yarn start:hot
后端服务地址

http://localhost:3000

前端访问地址

http://localhost:3333/

账号: admin 密码: admin skip

posted @ 2019-03-22 11:24  贝尔塔猫  阅读(501)  评论(0编辑  收藏  举报