mirror of
https://github.com/janoside/btc-rpc-explorer.git
synced 2026-08-17 13:07:13 +02:00
17 lines
No EOL
539 B
Markdown
17 lines
No EOL
539 B
Markdown
### Setup of https://bitcoinexplorer.org on Ubuntu 20.04
|
|
|
|
# update and install packages
|
|
apt update
|
|
apt upgrade
|
|
apt install docker.io
|
|
|
|
# get source, npm install
|
|
git clone https://github.com/janoside/btc-rpc-explorer.git
|
|
cd btc-rpc-explorer
|
|
|
|
# build docker image
|
|
docker build -t btc-rpc-explorer .
|
|
|
|
# run docker image: detached mode, share port 3002, sharing config dir, from the "btc-rpc-explorer" image made above
|
|
docker run --name=btc-rpc-explorer -d -v /host-os/env-dir:/container/env-dir --network="host" btc-rpc-explorer
|
|
|