Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/enigmampc/#377-go-over-errors' …
Browse files Browse the repository at this point in the history
…into fix-secretd-parse
  • Loading branch information
Itzik Grossman committed Jul 14, 2020
2 parents 845bb87 + 7042738 commit 83e07e4
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 83e07e4

Please sign in to comment.