docs: use go modules instead of glide

Fixes https://github.com/btcsuite/btcd/issues/1379
This commit is contained in:
Mawueli Kofi Adzoe 2019-03-15 13:16:42 -07:00 committed by Olaoluwa Osuntokun
parent 306aecffea
commit aa6e0f3570

View File

@ -95,11 +95,9 @@ recommended that `GOPATH` is set to a directory in your home directory such as
- Run the following commands to obtain btcd, all dependencies, and install it:
```bash
$ go get -u github.com/Masterminds/glide
$ git clone https://github.com/btcsuite/btcd $GOPATH/src/github.com/btcsuite/btcd
$ cd $GOPATH/src/github.com/btcsuite/btcd
$ glide install
$ go install . ./cmd/...
$ GO111MODULE=on go install -v . ./cmd/...
```
- btcd (and utilities) will now be installed in ```$GOPATH/bin```. If you did
@ -112,8 +110,7 @@ $ go install . ./cmd/...
```bash
$ cd $GOPATH/src/github.com/btcsuite/btcd
$ git pull && glide install
$ go install . ./cmd/...
$ git pull && GO111MODULE=on go install -v . ./cmd/...
```
<a name="GentooInstallation" />