mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-23 22:03:38 +08:00
Merge pull request #28 from ShaoshanLiu/master
add instructions for users who are not familiar with golang
This commit is contained in:
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,
|
||||||
|
Reference in New Issue
Block a user