git.delta.rocks / unique-network / refs/commits / aad59db2a84d

difftreelog

Remove build from container restart - testnet

Greg Zaitsev2020-07-21parent: #548157f.patch.diff
in: master

1 file changed

modifieddeploy-testnet.shdiffbeforeafterboth
before · deploy-testnet.sh
1#######################################################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 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### Stop and restart nodes so that they start finalizing24docker-compose -f docker-compose-testnet.yml down25docker-compose -f docker-compose-testnet.yml up -d --build2627### Cleanup2829# Delete key file used to set bootnode peer ID30rm einstein_key_file3132# Delete store key files33rm ./einstein_store_key.json34rm ./newton_store_key.json
after · deploy-testnet.sh
1#######################################################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 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### Stop and restart nodes so that they start finalizing24docker-compose -f docker-compose-testnet.yml down25docker-compose -f docker-compose-testnet.yml up -d2627### Cleanup2829# Delete key file used to set bootnode peer ID30rm einstein_key_file3132# Delete store key files33rm ./einstein_store_key.json34rm ./newton_store_key.json