Updated readme

This commit is contained in:
Torkel Ödegaard
2015-03-29 13:30:03 +02:00
parent 6d565cb355
commit 902f5d895a
2 changed files with 79 additions and 97 deletions

View File

@@ -14,19 +14,15 @@ dev environment.
- Go 1.4
- NodeJS
## Get Code
```
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 the backend
```
cd $GOPATH/src/github.com/grafana/grafana
git checkout -t origin/develop
go run build.go setup (only needed once to install godep)
godep restore (will pull down all golang lib dependecies in your current GOPATH)
go build .
@@ -52,7 +48,7 @@ bra run
## Running
```
./bin/grafana web
./grafana web
```
Open grafana in your browser (default http://localhost:3000) and login with admin user (default user/pass = admin/admin).