This is a quick introduction on how to use the installation script(run.sh) to install, maintain and monitor Peerplays Blockchain.
The script supports three modes:
- witness node as a service on Ubuntu Server
- witness node as a docker container
- SON as docker container
This mode involves building BOOST and Peerplays binaries from source code and therefore it is time consuming. To install follow the following steps
wget https://gitlab.com/PBSA/PeerplaysIO/tools-libs/peerplays-docker/-/raw/feature/install_fixes/run.sh
chmod +x run.sh
./run.sh witness_install
Note: Branch names to be used:
mainnet: master
testnet: beatrice
This mode installs the witness node as docker container which can be run on any x86 platform. To install follow the following steps
wget https://gitlab.com/PBSA/PeerplaysIO/tools-libs/peerplays-docker/-/raw/feature/install_fixes/run.sh
chmod +x run.sh
./run.sh witness_docker_install
Note: Tag name to be used:
Latest: latest
Other available tags: 1.5.1, Beatrice
This mode installs the SON as docker container which can be run on any x86 platform. To install follow the following steps
wget https://gitlab.com/PBSA/PeerplaysIO/tools-libs/peerplays-docker/-/raw/feature/install_fixes/run.sh
chmod +x run.sh
./run.sh son_docker_install
Note: Branch names to be used:
Available tags: son-dev
./run.sh logs
You can replay the Peerplays blockchain when witness node is installed as a service, docker container OR SON docker container.
./run.sh replay
You can uninstall Peerplays blockchain when witness node is installed as a service, docker container OR SON docker container.
./run.sh uninstall
./run.sh start
./run.sh stop
./run.sh kill
./run.sh restart
./run.sh status