From 74b76a2c41694a74920230afe5fa2559eeb885b3 Mon Sep 17 00:00:00 2001 From: Shaoshan Liu Date: Wed, 3 Dec 2014 21:04:02 -0800 Subject: [PATCH] add instructions for users who are not familiar with golang --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index ab07683dd..b22d07569 100644 --- a/README.md +++ b/README.md @@ -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,