Aiming to set up lightning node to run woocommerce plugin

Someone tweeted about a lightning plugin for Woocommerce So I went to this github page to figure out how to install it. https://github.c...

Friday, 26 January 2018

4. Setup C-Lightning

This is where is starts to go wrong. When I type bitcoind ... it says  bitcoind: command not found

I followed this
https://github.com/ElementsProject/lightning/blob/master/doc/INSTALL.md

This is the quick list

sudo apt-get install -y autoconf automake build-essential git libtool libgmp-dev libsqlite3-dev python python3 net-tools


sudo apt-get install -y asciidoc valgrind python3-pip
sudo pip3 install python-bitcoinlib
git clone https://github.com/ElementsProject/lightning.git
cd lightning
make
bitcoind &
./lightningd/lightningd &
./cli/lightning-cli help

3. Get Nodejs

3. nodejs (v.7.6 or newer)
type this in the terminal
   sudo apt-get install nodejs

Check the version with
 nodejs -v

If it is not the 7.6 or newer, then use the following to update.

sudo npm cache clean -f
sudo npm install -g n
sudo n stable

2. Install Bitcoin node

You also need to run a full bitcoin node. https://bitcoin.org/en/full-node#linux-instructions

It takes about a day to sync up to date

and don't forget this bit
https://bitcoin.org/en/full-node#network-configuration

and check it with this
https://bitnodes.earn.com/#join-the-network


1. set up linux and ubuntu

1. download ubuntu image from here https://www.ubuntu.com/download/desktop

2. download universal usb installer https://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/

3. follow the instructions here: https://www.makeuseof.com/tag/install-ubuntu-computer-using-usb-flash-drive/

This worked fine

Aiming to set up lightning node to run woocommerce plugin

Someone tweeted about a lightning plugin for Woocommerce

So I went to this github page to figure out how to install it.
https://github.com/ElementsProject/woocommerce-gateway-lightning

Each step has pre-requisites, so from start to finish it should be as follows.
1 - Install Linux/Ubuntu
2 - Install Bitcoin node -  allow about 16 hours for it to sync.
3 - setup nodejs (v7.6 or newer)
4 - setup c-lightning
5 - setup Lightning Charge  (this is where I am stuck!)
6 - add the woocommerce plugin