add instructions for users who are not familiar with golang

This commit is contained in:
Shaoshan Liu 2014-12-03 21:04:02 -08:00
parent 6c5a3d3dbf
commit 74b76a2c41

View file

@ -11,6 +11,31 @@ Seaweed File System
go get github.com/chrislusf/weed-fs/go/weed
```
## Installation guide for users who are not familiar with golang
step 1: install go on your machine and setup the environment by following the instructions from the following link:
https://golang.org/doc/install
make sure you set up your $GOPATH
step 2: also you may need to install Mercurial by following the instructions below
http://mercurial.selenic.com/downloads
step 3: download, compile, and install the project by executing the following command
go get github.com/chrislusf/weed-fs/go/weed
once this is down, you should see the executable "weed" under $GOPATH/bin
step 4: after you modify your code locally, you could start a local build by calling "go build" under $GOPATH/src/github.com/chrislusf/weed-fs/go/weed
## Reference
For pre-compiled releases,