Skip to content

Commit

Permalink
Merge pull request #403 from enigmampc/azure-aliases
Browse files Browse the repository at this point in the history
more aliases
  • Loading branch information
Cashmaney authored Jul 14, 2020
2 parents e87dd9a + 1ce17e5 commit 9ba3d3a
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ perl -i -pe 's/laddr = .+?26656"/laddr = "tcp:\/\/0.0.0.0:26656"/' ~/.secretd/co

echo "Setting Secret Node environment variables" >> /home/$1/install.progress.txt

echo 'alias secretcli="docker exec -it secret-node_node_1 secretcli"' >> /home/"$1"/.bashrc
echo 'alias secretd="docker exec -it secret-node_node_1 secretd"' >> /home/"$1"/.bashrc
echo 'alias show-node-id="docker exec -it bootstrap secretd tendermint show-node-id"' >> /home/"$1"/.bashrc
echo 'alias show-validator="docker exec -it bootstrap secretd tendermint show-validator"' >> /home/"$1"/.bashrc

echo 'alias stop-secret-node="docker-compose -f /usr/local/bin/secret-node/docker-compose.yaml down"' >> /home/"$1"/.bashrc
echo 'alias start-secret-node="docker-compose -f /usr/local/bin/secret-node/docker-compose.yaml up -d"' >> /home/"$1"/.bashrc

echo "export CHAINID=$2" >> /home/"$1"/.bashrc
echo "export MONIKER=$3" >> /home/"$1"/.bashrc
echo "export PERSISTENT_PEERS=$4" >> /home/"$1"/.bashrc
Expand Down

0 comments on commit 9ba3d3a

Please sign in to comment.