Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 778 Bytes

README.md

File metadata and controls

37 lines (26 loc) · 778 Bytes

Step-by-step to provision infrastructure of masternodes on Digital Ocean

Bring up

  1. Configuration

Update config.json file at below fields:

  • "doApiToken": Create an API token from DO with RW permission
  • "sshKeyName": specify your ssh key registered on DO
  • "privateKeyPath": path to the private ssh key on your machine
  • "coinbasePrivateKeySun": private key of the SUN masternode
  • "node": put in information for each masternode
  1. Start up SUN masternode, which is included TomoMaster, TomoScan, Netstats
$ ./up.sh main
  1. Start up other masternodes
$ ./up.sh node

Bring down

$ ./down.sh main
$ ./down.sh node

Update code and reload

VAGRANT_VAGRANTFILE=Vagrantfile.main vagrant ssh -c "consul kv put tomochain/reset 1"