doc: remove mentions of gx
Steven Allen committed
Jun 5, 2019 at 16:11 UTC
dd9cae7f04b9bab9fb7fd47e27e31dd9ab826767
1 file changed
+8
-15
docs/windows.md
+8
-15
@@ -105,27 +105,20 @@ SETX PATH %PATH%
105
```
106
107
## Minimal
108
-While it's possible to build `go-ipfs` with `go` alone, we'll be using `git` and `gx` for practical source management.
109
-You can use whichever version of `git` you wish but we recommend the Windows builds at <https://git-scm.com>. `git` must be in your [`PATH`](https://ss64.com/nt/path.html) for `go get` to recognize and use it.
108
111
-### `gx`
112
-You may install prebuilt binaries for [`gx`](https://dist.ipfs.io/#gx) & [`gx-go`](https://dist.ipfs.io/#gx-go) if they're available for your platform.
113
-Alternatively, you can build them from source and install them to `%GOPATH%\bin` by running the following:
109
+While it's possible to build `go-ipfs` with `go` alone, we'll be using `git` to fetch the source.
110
115
-```
116
-go get -u github.com/whyrusleeping/gx
117
-go get -u github.com/whyrusleeping/gx-go
118
-```
111
+You can use whichever version of `git` you wish but we recommend the Windows builds at <https://git-scm.com>. `git` must be in your [`PATH`](https://ss64.com/nt/path.html) for `go get` to recognize and use it.
112
+
113
+### go-ipfs
114
120
-### `go-ipfs`
115
+Clone and change directory to the source code, if you haven't already:
116
117
```
123
-SET PATH=%PATH%;%GOPATH%\bin
124
-go get -u -d github.com/ipfs/go-ipfs
125
-cd %GOPATH%/src/github.com/ipfs/go-ipfs
126
-gx --verbose install --global
127
-cd cmd\ipfs
118
+git clone https://github.com/ipfs/go-ipfs %GOPATH%/src/github.com/ipfs/go-ipfs
119
+cd %GOPATH%/src/github.com/ipfs/go-ipfs/cmd/ipfs
120
```
121
+
122
We need the `git` commit hash to be included in our build so that in the extremely rare event a bug is found, we have a reference point later for tracking it. We'll ask `git` for it and store it in a variable. The syntax for the next command is different depending on whether you're using the interactive command line or writing a batch file. Use the one that applies to you.
123
- interactive: `FOR /F %V IN ('git rev-parse --short HEAD') do set SHA=%V`
124
- interpreter: `FOR /F %%V IN ('git rev-parse --short HEAD') do set SHA=%%V`