This guide will allow you to operate and utilize your Dojo to back a full Bitcoin Explorer. (This set up is designed to be accessible from your local LAN only)
Node.js
We will be completely operating from your main device, unless otherwise stated. So grab your laptop, and follow along.
Determine which download you need:
$ uname -m
Now head to: https://nodejs.org/en/download/
Right click on the correct download to "Copy link address" you need. For this example I'll use the linux x64 download.
$ git clone https://github.com/janoside/btc-rpc-explorer.git
$ cd btc-rpc-explorer
$ npm install
$ sudo nano .env-sample
##Make sure you UNCOMMENT out the following:
BTCEXP_HOST=127.0.0.1
BTCEXP_PORT=3002 (you can change this, you will put this in the web browser)
BTCEXP_BITCOIND_HOST=192.168.X.XX (this should be the IP of you pi you configured in the Electrs guide)
BTCEXP_BITCOIND_PORT=28256 (if default dojo)
BTCEXP_BITCOIND_USER=dojoRPCusername
BTCEXP_BITCOIND_PASS=dojoRPCpasswrod
BTCEXP_BITCOIND_RPC_TIMEOUT
Rest are optional, but I opted for the following:
BTCEXP_DEMO
BTCEXP_PRIVACY_MODE
BTCEXP_BASIC_AUTH_PASSWORD=(whatever you want)
##One you are happy with your settings..
Ctrl+X, y, (delete the .env-sample, type: .env) Enter