https://github.com/buildonviction/masternodes-droplets
https://github.com/buildonviction/masternodes-droplets
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/buildonviction/masternodes-droplets
- Owner: BuildOnViction
- Created: 2018-10-26T09:22:26.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2025-12-04T05:35:20.000Z (8 months ago)
- Last Synced: 2025-12-06T09:58:32.459Z (8 months ago)
- Language: Ruby
- Homepage:
- Size: 58.6 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
2. Start up SUN masternode, which is included TomoMaster, TomoScan, Netstats
```
$ ./up.sh main
```
3. 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"
```