mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-24 15:52:22 +02:00
docs: update INSTALL.md to use dep for dependencies
This commit is contained in:
parent
a4a24ca6af
commit
da5381815e
@ -41,11 +41,11 @@
|
|||||||
We recommend placing the above in your .bashrc or in a setup script so that
|
We recommend placing the above in your .bashrc or in a setup script so that
|
||||||
you can avoid typing this every time you open a new terminal window.
|
you can avoid typing this every time you open a new terminal window.
|
||||||
|
|
||||||
* **Glide:** This project uses `Glide` to manage dependencies as well
|
* **dep:** This project uses `dep` to manage dependencies as well
|
||||||
as to provide *reproducible builds*. To install `Glide`, execute the
|
as to provide *reproducible builds*. To install `dep`, execute the
|
||||||
following command (assumes you already have Go properly installed):
|
following command (assumes you already have Go properly installed):
|
||||||
```
|
```
|
||||||
go get -u github.com/Masterminds/glide
|
go get -u github.com/golang/dep/cmd/dep
|
||||||
```
|
```
|
||||||
|
|
||||||
### Installing lnd
|
### Installing lnd
|
||||||
@ -55,17 +55,17 @@ related dependencies run the following commands:
|
|||||||
```
|
```
|
||||||
git clone https://github.com/lightningnetwork/lnd $GOPATH/src/github.com/lightningnetwork/lnd
|
git clone https://github.com/lightningnetwork/lnd $GOPATH/src/github.com/lightningnetwork/lnd
|
||||||
cd $GOPATH/src/github.com/lightningnetwork/lnd
|
cd $GOPATH/src/github.com/lightningnetwork/lnd
|
||||||
glide install
|
dep ensure
|
||||||
go install . ./cmd/...
|
go install . ./cmd/...
|
||||||
```
|
```
|
||||||
|
|
||||||
**Updating**
|
**Updating**
|
||||||
|
|
||||||
To update your version of `lnd` to the latest version run the following
|
To update your version of `lnd` to the latest version run the following
|
||||||
commands:
|
commands:
|
||||||
```
|
```
|
||||||
cd $GOPATH/src/github.com/lightningnetwork/lnd
|
cd $GOPATH/src/github.com/lightningnetwork/lnd
|
||||||
git pull && glide install
|
git pull && dep ensure
|
||||||
go install . ./cmd/...
|
go install . ./cmd/...
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -84,6 +84,7 @@ branch. To install, run the following commands:
|
|||||||
|
|
||||||
Install **btcd**: (must be from roasbeef fork, not from btcsuite)
|
Install **btcd**: (must be from roasbeef fork, not from btcsuite)
|
||||||
```
|
```
|
||||||
|
go get -u github.com/Masterminds/glide
|
||||||
git clone https://github.com/roasbeef/btcd $GOPATH/src/github.com/roasbeef/btcd
|
git clone https://github.com/roasbeef/btcd $GOPATH/src/github.com/roasbeef/btcd
|
||||||
cd $GOPATH/src/github.com/roasbeef/btcd
|
cd $GOPATH/src/github.com/roasbeef/btcd
|
||||||
glide install
|
glide install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user