xud-box plugin to provision debian 9.5 digitalocean image to run xud-box.
git clone https://github.com/ExchangeUnion/xud-box-digitalocean.git ~/xud-box-digitalocean
cd ~/xud-box-digitalocean
Edit .env
file and fill in your DIGITALOCEAN_API_TOKEN
digitalocean.com/docs/api/create-personal-access-token/
touch .env
vim .env
export DIGITALOCEAN_API_TOKEN=<CHANGE_WITH_YOUR_DO_KEY> # change this with your own key
export USERNAME="admin" # optionally, you can change the default user
export PASSWORD="lollercopter#123" # change this password
export TAG="xud-box-simnet" # tag is used to clear up your running instances
export BASE_IMAGE=debian-9-x64
export SIZE=4gb # amount of RAM
export DROPLET_NAME="xud-box" # server name
export CREATE_TIME=40 # seconds it takes to create the server
export BOOT_TIME=20 # seconds it takes to boot the server
Ensure that your public key has been setup on DigitalOcean control panel.
./create-machine.sh
./status.sh
./cleanup.sh