aboutsummaryrefslogtreecommitdiff
path: root/karyons_p2p/examples/chat_simulation.sh
diff options
context:
space:
mode:
authorhozan23 <hozan23@proton.me>2023-11-09 11:38:19 +0300
committerhozan23 <hozan23@proton.me>2023-11-09 11:38:19 +0300
commit849d827486c75b2ab223d7b0e638dbb5b74d4d1d (patch)
tree41cd3babc37147ec4a40cab8ce8ae31c91cce33b /karyons_p2p/examples/chat_simulation.sh
parentde1354525895ffbad18f90a5246fd65157f7449e (diff)
rename crates
Diffstat (limited to 'karyons_p2p/examples/chat_simulation.sh')
-rwxr-xr-xkaryons_p2p/examples/chat_simulation.sh25
1 files changed, 0 insertions, 25 deletions
diff --git a/karyons_p2p/examples/chat_simulation.sh b/karyons_p2p/examples/chat_simulation.sh
deleted file mode 100755
index 82bbe96..0000000
--- a/karyons_p2p/examples/chat_simulation.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-
-# build
-cargo build --release --example chat
-
-tmux new-session -d -s karyons_chat
-
-tmux send-keys -t karyons_chat "../../target/release/examples/chat --username 'user1'\
- -l 'tcp://127.0.0.1:40000' -d '40010'" Enter
-
-tmux split-window -h -t karyons_chat
-tmux send-keys -t karyons_chat "../../target/release/examples/chat --username 'user2'\
- -l 'tcp://127.0.0.1:40001' -d '40011' -b 'tcp://127.0.0.1:40010 ' " Enter
-
-tmux split-window -h -t karyons_chat
-tmux send-keys -t karyons_chat "../../target/release/examples/chat --username 'user3'\
- -l 'tcp://127.0.0.1:40002' -d '40012' -b 'tcp://127.0.0.1:40010'" Enter
-
-tmux split-window -h -t karyons_chat
-tmux send-keys -t karyons_chat "../../target/release/examples/chat --username 'user4'\
- -b 'tcp://127.0.0.1:40010'" Enter
-
-tmux select-layout tiled
-
-tmux attach -t karyons_chat