Adding GOPATH

This commit is contained in:
gmembre 2015-07-09 22:17:12 +02:00
parent 8eee0d574c
commit 14e25100d4

View File

@ -17,6 +17,7 @@ dev environment.
## Get Code
```
export GOPATH=``pwd`
go get github.com/grafana/grafana
```
@ -24,11 +25,11 @@ go get github.com/grafana/grafana
```
cd $GOPATH/src/github.com/grafana/grafana
go run build.go setup (only needed once to install godep)
godep restore (will pull down all golang lib dependecies in your current GOPATH)
$GOPATH/bin/godep restore (will pull down all golang lib dependecies in your current GOPATH)
go build .
```
# Building on Windows
## Building on Windows
The Grafana backend includes Sqlite3 which requires GCC to compile. So in order to compile Grafana on windows you need
to install GCC. We recommend [TDM-GCC](http://tdm-gcc.tdragon.net/download).