twister-core/doc/building-on-ubuntu-debian.md

30 lines
928 B
Markdown
Raw Normal View History

# Ubuntu / Debian building instructions
2014-01-08 16:28:29 +00:00
Tested on a pristine:
2021-07-07 12:53:09 +00:00
- Ubuntu 20.04 amd64
- Ubuntu 20.04 arm
## Install
2014-01-08 16:28:29 +00:00
1. sudo apt-get update
2014-12-09 12:58:12 +00:00
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
2014-01-08 16:28:29 +00:00
## Configuration & web gui
2014-01-08 16:28:29 +00:00
1. mkdir ~/.twister
1. echo -e "rpcuser=user\nrpcpassword=pwd" > ~/.twister/twister.conf
1. chmod 600 ~/.twister/twister.conf
2014-01-14 20:08:25 +00:00
1. git clone https://github.com/miguelfreitas/twister-html.git ~/.twister/html
2014-01-08 16:28:29 +00:00
## Start
2014-01-08 16:28:29 +00:00
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 !