1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-05-17 08:51:14 +02:00

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
Step 2: also you may need to install Mercurial by following the instructions at:
http://mercurial.selenic.com/downloads
Step 2: checkout this repo:
```bash
git clone https://github.com/chrislusf/seaweedfs.git
```
Step 3: download, compile, and install the project by executing the following command
```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
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)
## Disk Related Topics ##