提交 09868574 作者: Jakub Sztandera 提交者: Steven Allen

readme: update for go modules

License: MIT
Signed-off-by: 's avatarJakub Sztandera <kubuxu@protonmail.ch>
上级 f47ed25a
......@@ -132,29 +132,14 @@ export PATH=$PATH:$GOPATH/bin
#### Download and Compile IPFS
```
$ go get -u -d github.com/ipfs/go-ipfs
$ git 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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论