Update README.md

This commit is contained in:
Chris Lu 2020-10-20 18:23:22 -07:00 committed by GitHub
parent 6c92fa349d
commit 3ac77dcc7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -463,30 +463,18 @@ https://golang.org/doc/install
make sure you set up your $GOPATH make sure you set up your $GOPATH
Step 2: also you may need to install Mercurial by following the instructions at: Step 2: checkout this repo:
```bash
http://mercurial.selenic.com/downloads git clone https://github.com/chrislusf/seaweedfs.git
```
Step 3: download, compile, and install the project by executing the following command Step 3: download, compile, and install the project by executing the following command
```bash ```bash
go get github.com/chrislusf/seaweedfs/weed make install
``` ```
Once this is done, you will find the executable "weed" in your `$GOPATH/bin` directory Once this is done, you will find the executable "weed" in your `$GOPATH/bin` directory
Note:
* If you got into this problem, try to `rm -Rf $GOPATH/src/go.etcd.io/etcd/vendor/golang.org/x/net/trace` and build again.
```
panic: /debug/requests is already registered. You may have two independent copies of golang.org/x/net/trace in your binary, trying to maintain separate state. This may involve a vendored copy of golang.org/x/net/trace.
```
Step 4: after you modify your code locally, you could start a local build by calling `go install` under
```
$GOPATH/src/github.com/chrislusf/seaweedfs/weed
```
[Back to TOC](#table-of-contents) [Back to TOC](#table-of-contents)
## Disk Related Topics ## ## Disk Related Topics ##