difftreelog
Delete grandpa key files after deployment
in: master
1 file changed
deploy-testnet.shdiffbeforeafterboth1#######################################################2#3# Deployng process:4#5# 1. Git pull the nft_parachain on the server6# 2. SCP secret files in the root folder of nft_parachain7# - einstein_store_key.json8# - newton_store_key.json9# - einstein_key_file10# 3. Run this script11#1213### Build and run Einstein node (bootnode) and Newton node14docker-compose -f docker-compose-testnet.yml up -d --build1516### Deploy aura store keys17# Einstein18curl http://localhost:9935 -H "Content-Type:application/json;charset=utf-8" -d "@./einstein_store_key.json"1920# Newton21curl http://localhost:9936 -H "Content-Type:application/json;charset=utf-8" -d "@./newton_store_key.json"2223### Deploy standpa store keys24# Einstein25curl http://localhost:9935 -H "Content-Type:application/json;charset=utf-8" -d "@./einstein_store_key_grandpa.json"2627# Newton28curl http://localhost:9936 -H "Content-Type:application/json;charset=utf-8" -d "@./newton_store_key_grandpa.json"2930### Stop and restart nodes so that they start finalizing31docker-compose -f docker-compose-testnet.yml down32docker-compose -f docker-compose-testnet.yml up -d3334### Cleanup3536# Delete key file used to set bootnode peer ID37rm einstein_key_file3839# Delete store key files40rm ./einstein_store_key.json41rm ./newton_store_key.json1#######################################################2#3# Deployng process:4#5# 1. Git pull the nft_parachain on the server6# 2. SCP secret files in the root folder of nft_parachain7# - einstein_store_key.json8# - newton_store_key.json9# - einstein_key_file10# 3. Run this script11#1213### Build and run Einstein node (bootnode) and Newton node14docker-compose -f docker-compose-testnet.yml up -d --build1516sleep 301718### Deploy aura store keys19# Einstein20curl http://localhost:9935 -H "Content-Type:application/json;charset=utf-8" -d "@./einstein_store_key.json"2122# Newton23curl http://localhost:9936 -H "Content-Type:application/json;charset=utf-8" -d "@./newton_store_key.json"2425### Deploy standpa store keys26# Einstein27curl http://localhost:9935 -H "Content-Type:application/json;charset=utf-8" -d "@./einstein_store_key_grandpa.json"2829# Newton30curl http://localhost:9936 -H "Content-Type:application/json;charset=utf-8" -d "@./newton_store_key_grandpa.json"3132### Stop and restart nodes so that they start finalizing33docker-compose -f docker-compose-testnet.yml down34docker-compose -f docker-compose-testnet.yml up -d3536### Cleanup3738# Delete key file used to set bootnode peer ID39rm einstein_key_file4041# Delete store key files42rm ./einstein_store_key.json43rm ./newton_store_key.json44rm ./einstein_store_key_grandpa.json45rm ./newton_store_key_grandpa.json