making sure to start local gateway in 'local' mode (#4019)

This commit is contained in:
Jędrzej Stuczyński
2023-10-19 12:06:09 +01:00
committed by GitHub
parent f328f3fa9e
commit 6a9b9cd0dd
+2 -3
View File
@@ -36,11 +36,10 @@ tmux start-server
tmux new-session -d -s localnet -n Mixnet -d "/usr/bin/env sh -c \" cargo run --release --bin nym-mixnode -- run --id mix1-$suffix \""
tmux split-window -t localnet:0 "/usr/bin/env sh -c \" cargo run --release --bin nym-mixnode -- run --id mix2-$suffix \""
tmux split-window -t localnet:0 "/usr/bin/env sh -c \" cargo run --release --bin nym-mixnode -- run --id mix3-$suffix \""
tmux split-window -t localnet:0 "/usr/bin/env sh -c \" cargo run --release --bin nym-gateway -- run --id gateway-$suffix \""
echo "waiting for nym-gateway to launch on port 9000..."
tmux split-window -t localnet:0 "/usr/bin/env sh -c \" cargo run --release --bin nym-gateway -- run --id gateway-$suffix --local \""
while ! nc -z localhost 9000; do
echo "waiting for nym-gateway to launch on port 9000..."
sleep 2
done