mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
doc: Add bitcoind dependency to INSTALL and send to background
This commit is contained in:
parent
1ac10716be
commit
fc59d8e227
17
INSTALL.md
17
INSTALL.md
@ -20,12 +20,21 @@ To Build on Ubuntu 16.04
|
|||||||
|
|
||||||
Get dependencies:
|
Get dependencies:
|
||||||
```
|
```
|
||||||
sudo apt-get install -y autoconf build-essential git libtool libprotobuf-c-dev libgmp-dev libsqlite3-dev python3
|
sudo apt-get install -y autoconf build-essential git libtool libprotobuf-c-dev libgmp-dev libsqlite3-dev python3 net-tools
|
||||||
|
```
|
||||||
|
|
||||||
|
If you don't have Bitcoin installed locally you'll need to install that as well:
|
||||||
|
```
|
||||||
|
sudo apt-get install software-properties-common
|
||||||
|
sudo add-apt-repository ppa:bitcoin/bitcoin
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y bitcoind
|
||||||
```
|
```
|
||||||
|
|
||||||
For development or running tests, get additional dependencies:
|
For development or running tests, get additional dependencies:
|
||||||
```
|
```
|
||||||
sudo apt-get install -y asciidoc valgrind python3-pip && pip3 install python-bitcoinlib
|
sudo apt-get install -y asciidoc valgrind python3-pip
|
||||||
|
sudo pip3 install python-bitcoinlib
|
||||||
```
|
```
|
||||||
|
|
||||||
Clone lightning:
|
Clone lightning:
|
||||||
@ -41,8 +50,8 @@ make
|
|||||||
|
|
||||||
Running lightning:
|
Running lightning:
|
||||||
```
|
```
|
||||||
bitcoind
|
bitcoind &
|
||||||
./daemon/lightningd
|
./daemon/lightningd &
|
||||||
./daemon/lightning-cli help
|
./daemon/lightning-cli help
|
||||||
```
|
```
|
||||||
**Note**: You may need to include `testnet=1` in `bitcoin.conf`
|
**Note**: You may need to include `testnet=1` in `bitcoin.conf`
|
||||||
|
Loading…
Reference in New Issue
Block a user