Unverified Commit 621fb108 authored by Steven Allen's avatar Steven Allen Committed by GitHub

Merge pull request #6180 from ipfs/readme/gomod

readme: update for go modules
parents f47ed25a 663f7c92
......@@ -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 is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment