misc: simplify readme installation instructions
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
Jakub Sztandera committed
Feb 22, 2017 at 22:27 UTC
68db94c3ebaf84495cdab4a71a8806b3606e0e95
1 file changed
+6
-19
README.md
+6
-19
@@ -91,21 +91,10 @@ export PATH=$PATH:$GOPATH/bin
91
92
#### Download and Compile IPFS
93
94
-go-ipfs differs from the vanilla `go get` flow: it uses
95
-[gx](https://github.com/whyrusleeping/gx)/[gx-go](https://github.com/whyrusleeping/gx-go)
96
-for dependency management.
97
-
98
-First download `go-ipfs` without installing:
99
-
94
```
95
$ go get -u -d github.com/ipfs/go-ipfs
96
97
$ cd $GOPATH/src/github.com/ipfs/go-ipfs
104
-```
105
-
106
-Then install `go-ipfs` and its dependencies, including `gx` and `gx-go`:
107
-
108
-```
98
$ make install
99
```
100
@@ -113,16 +102,14 @@ $ make install
102
103
If your operating system isn't officially supported, but you still want to try
104
building ipfs anyways (it should work fine in most cases), you can do the
116
-following:
105
+following instead of `make install`:
106
118
-- Install gx: `go get -u github.com/whyrusleeping/gx`
119
-- Install gx-go: `go get -u github.com/whyrusleeping/gx-go`
120
-- Fetch ipfs source: `go get -d github.com/ipfs/go-ipfs 2> /dev/null`
121
-- Enter source directory: `cd $GOPATH/src/github.com/ipfs/go-ipfs`
122
-- Install deps: `gx install`
123
-- Install ipfs: `go install ./cmd/ipfs`
107
+```
108
+$ make install_unsupported
109
+```
110
125
-Note: This process may break if [gx](https://github.com/whyrusleeping/gx) or any of its dependencies break as `go get`
111
+Note: This process may break if [gx](https://github.com/whyrusleeping/gx)
112
+(used for dependency management) or any of its dependencies break as `go get`
113
will always select the latest code for every dependency, often resulting in
114
mismatched APIs.
115