Run a drone on blockstreamer nodes

This commit is contained in:
Michael Vines 2019-03-21 21:09:03 -07:00 committed by Grimes
parent ed8bada439
commit e6b9babf53
1 changed files with 7 additions and 0 deletions

View File

@ -118,6 +118,13 @@ local|tar)
fi
if [[ $nodeType = blockstreamer ]]; then
# Sneak the mint-id.json from the bootstrap leader and run another drone
# with it on the blockstreamer node. Typically the blockstreamer node has
# a static IP/DNS name for hosting the blockexplorer web app, and is
# a location that somebody would expect to be able to airdrop from
scp "$entrypointIp":~/solana/config-local/mint-id.json config-local/
./multinode-demo/drone.sh > drone.log 2>&1 &
npm install @solana/blockexplorer@1
npx solana-blockexplorer > blockexplorer.log 2>&1 &