README: require go1.11, document module installation
This commit is contained in:
parent
2f3be2e337
commit
20388be196
1 changed files with 4 additions and 7 deletions
11
README.md
11
README.md
|
@ -35,7 +35,7 @@ which are both under active development.
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
[Go](http://golang.org) 1.8 or newer.
|
[Go](http://golang.org) 1.11 or newer.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
@ -63,11 +63,8 @@ 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:
|
- Run the following commands to obtain btcd, all dependencies, and install it:
|
||||||
|
|
||||||
```bash
|
```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
|
$ cd $GOPATH/src/github.com/btcsuite/btcd
|
||||||
$ glide install
|
$ GO111MODULE=on go install -v . ./cmd/...
|
||||||
$ go install . ./cmd/...
|
|
||||||
```
|
```
|
||||||
|
|
||||||
- btcd (and utilities) will now be installed in ```$GOPATH/bin```. If you did
|
- btcd (and utilities) will now be installed in ```$GOPATH/bin```. If you did
|
||||||
|
@ -86,8 +83,8 @@ Install a newer MSI
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cd $GOPATH/src/github.com/btcsuite/btcd
|
$ cd $GOPATH/src/github.com/btcsuite/btcd
|
||||||
$ git pull && glide install
|
$ git pull
|
||||||
$ go install . ./cmd/...
|
$ GO111MODULE=on go install -v . ./cmd/...
|
||||||
```
|
```
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
Loading…
Reference in a new issue