Unverified 提交 621fb108 作者: Steven Allen 提交者: GitHub

Merge pull request #6180 from ipfs/readme/gomod

readme: update for go modules
......@@ -132,29 +132,14 @@ export PATH=$PATH:$GOPATH/bin
#### Download and Compile IPFS
```
$ go get -u -d github.com/ipfs/go-ipfs
$ git clone https://github.com/ipfs/go-ipfs.git
$ cd $GOPATH/src/github.com/ipfs/go-ipfs
$ cd go-ipfs
$ make install
```
If you are building on FreeBSD instead of `make install` use `gmake install`.
#### Building on less common systems
If your operating system isn't officially supported, but you still want to try
building ipfs anyways (it should work fine in most cases), you can do the
following instead of `make install`:
```
$ make install_unsupported
```
Note: This process may break if [gx](https://github.com/whyrusleeping/gx)
(used for dependency management) or any of its dependencies break as `go get`
will always select the latest code for every dependency, often resulting in
mismatched APIs.
#### Troubleshooting
- Separate [instructions are available for building on Windows](docs/windows.md).
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论