On the remote server:
- Find out the public IP of this server and set it correctly in the app:
http://public-ip:3000?id={id}
export PATH=$PATH:~/bitcoin-0.17.1/bin
bitcoind -regtest -daemon
- Add a file
addresses_given_money.json
with contents:[]
toroutes
folder - In simple-btc-faucet:
npm i
and start in background:pm2 --name faucet start npm -- start
- View processes:
pm2 ps
- Stop process:
pm2 delete 0