mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Updated readme
This commit is contained in:
@@ -20,10 +20,12 @@ issues to fix and polish missing. But feedback on what is done and bug reports w
|
|||||||
```
|
```
|
||||||
go get github.com/grafana/grafana
|
go get github.com/grafana/grafana
|
||||||
```
|
```
|
||||||
|
The above will give an error saying there is no go code. That is because the new backend parts are in the develop branch.
|
||||||
|
|
||||||
Building
|
Building
|
||||||
```
|
```
|
||||||
cd $GOPATH/src/github.com/grafana/grafana
|
cd $GOPATH/src/github.com/grafana/grafana
|
||||||
|
git checkout -t origin/develop
|
||||||
go run build.go setup (only needed once to install godep)
|
go run build.go setup (only needed once to install godep)
|
||||||
go run build.go build
|
go run build.go build
|
||||||
```
|
```
|
||||||
@@ -43,7 +45,7 @@ npm install -g grunt-cli
|
|||||||
grunt
|
grunt
|
||||||
```
|
```
|
||||||
|
|
||||||
To rebuild on source change:
|
To rebuild on source change (requires that you executed godep restore)
|
||||||
```
|
```
|
||||||
go get github.com/Unknwon/bra
|
go get github.com/Unknwon/bra
|
||||||
bra run
|
bra run
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ type DsAccess string
|
|||||||
|
|
||||||
type DataSource struct {
|
type DataSource struct {
|
||||||
Id int64
|
Id int64
|
||||||
Version int
|
|
||||||
AccountId int64
|
AccountId int64
|
||||||
|
Version int
|
||||||
|
|
||||||
Name string
|
Name string
|
||||||
Type DsType
|
Type DsType
|
||||||
|
|||||||
@@ -6,14 +6,13 @@
|
|||||||
</topnav>
|
</topnav>
|
||||||
|
|
||||||
<div class="gf-box" style="min-height: 500px">
|
<div class="gf-box" style="min-height: 500px">
|
||||||
|
|
||||||
<div class="gf-box-body">
|
<div class="gf-box-body">
|
||||||
<div class="editor-row">
|
<div class="editor-row">
|
||||||
<div class="section">
|
<div class="section">
|
||||||
<form name="addTokenrForm" class="form-inline tight-form">
|
<form name="addTokenrForm" class="form-inline tight-form">
|
||||||
<ul class="tight-form-list">
|
<ul class="tight-form-list">
|
||||||
<li class="tight-form-item">
|
<li class="tight-form-item">
|
||||||
Add a Token
|
Add a key
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<input type="text" class="input-xlarge tight-form-input" ng-model='token.name' placeholder="Name"></input>
|
<input type="text" class="input-xlarge tight-form-input" ng-model='token.name' placeholder="Name"></input>
|
||||||
@@ -47,7 +46,6 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user