|
|
|
# Ubuntu / Debian building instructions
|
|
|
|
|
|
|
|
Tested on a pristine:
|
|
|
|
- Ubuntu 20.04 amd64
|
|
|
|
- Ubuntu 20.04 arm
|
|
|
|
|
|
|
|
## Install
|
|
|
|
|
|
|
|
1. sudo apt-get update
|
|
|
|
1. sudo apt-get install git autoconf libtool build-essential libboost-all-dev libssl-dev libdb++-dev libminiupnpc-dev automake
|
|
|
|
1. git clone https://github.com/miguelfreitas/twister-core.git
|
|
|
|
1. cd twister-core
|
|
|
|
1. ./autotool.sh
|
|
|
|
1. ./configure (on ARM architectures, run: `./configure --with-boost-libdir=/usr/lib/arm-linux-gnueabihf --disable-sse2`)
|
|
|
|
1. make
|
|
|
|
|
|
|
|
## Configuration & web gui
|
|
|
|
|
|
|
|
1. mkdir ~/.twister
|
|
|
|
1. echo -e "rpcuser=user\nrpcpassword=pwd" > ~/.twister/twister.conf
|
|
|
|
1. chmod 600 ~/.twister/twister.conf
|
|
|
|
1. git clone https://github.com/miguelfreitas/twister-html.git ~/.twister/html
|
|
|
|
|
|
|
|
## Start
|
|
|
|
|
|
|
|
1. cd twister-core
|
|
|
|
1. ./twisterd -rpcuser=user -rpcpassword=pwd -rpcallowip=127.0.0.1
|
|
|
|
1. Open http://127.0.0.1:28332/index.html and use the user/pwd credentials
|
|
|
|
1. Create your account !
|