From fc59d8e227ca6a4b30902698a9355c5aebddba6e Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Thu, 10 Aug 2017 16:09:02 +0200 Subject: [PATCH] doc: Add bitcoind dependency to INSTALL and send to background --- INSTALL.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 6931ac067..6a2e156d1 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -20,12 +20,21 @@ To Build on Ubuntu 16.04 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: ``` -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: @@ -41,8 +50,8 @@ make Running lightning: ``` -bitcoind -./daemon/lightningd +bitcoind & +./daemon/lightningd & ./daemon/lightning-cli help ``` **Note**: You may need to include `testnet=1` in `bitcoin.conf`