mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
add instructions for users who are not familiar with golang
This commit is contained in:
parent
6c5a3d3dbf
commit
74b76a2c41
25
README.md
25
README.md
|
@ -11,6 +11,31 @@ Seaweed File System
|
||||||
go get github.com/chrislusf/weed-fs/go/weed
|
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
|
## Reference
|
||||||
|
|
||||||
For pre-compiled releases,
|
For pre-compiled releases,
|
||||||
|
|
Loading…
Reference in a new issue