Sign inSign up

subspacelabs/bitbot-web

By subspacelabs

Updated about 5 years ago

Image
0

528

subspacelabs/bitbot-web repository overview

bitbot-web

BitBot Web UI

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:3000
npm run dev

# build for production and launch server
npm run build
npm start

Docker

docker build -t subspacelabs/bitbot-web -f Dockerfile .
docker build -t subspacelabs/bitbot-web:arm32v7 -f Dockerfile-arm32v7 .
docker build -t subspacelabs/bitbot-web:arm64v8 -f Dockerfile-arm64v8 .

AWS Node

To speed development and simplify demoing, we have a Bitcoin node on an AWS instance. Below are the commands used to set it up. It has a 400 GB EBS attached to /dev/sdb (aka /dev/xvdb).

sudo apt-add-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install bitcoind
mkdir .bitcoin

cat >> ~/.bitcoin/bitcoin.conf << EOF
server=1
txindex=1
rpcuser=username
rpcpassword=password
rpcbind=0.0.0.0
rpcport=59999
rpcallowip=0.0.0.0/0
datadir=/chains/bitcoin
wallet=./maverick
EOF

sudo mkfs.ext4 /dev/xvdb
sudo mount /dev/xvdb /chains
sudo mkdir /chains/bitcoin
sudo chown ubuntu:ubuntu /chains/bitcoin

bitcoind -daemon

Tag summary

Content type

Image

Digest

Size

53.4 MB

Last updated

about 7 years ago

docker pull subspacelabs/bitbot-web