Browse Source

doc: Add bitcoind dependency to INSTALL and send to background

ppa-0.6.1
Christian Decker 7 years ago
parent
commit
fc59d8e227
  1. 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…
Cancel
Save