-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStartFileTest.sh
22 lines (17 loc) · 1.25 KB
/
StartFileTest.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
###############################################################################################
# #
# Launch ServerFusionManager on localhost:8888 #
# #
# Launch 1 Servers on localhost:7777 #
# #
# Connect 2 clients (1 client / server) #
# #
###############################################################################################
# ServerChatFusion
gnome-terminal -- java -jar server/build/libs/ServerChatFusion-0.1.0.jar Server1 7777 localhost 8888
# ClientChatFusion
mkdir -p /tmp/client1
gnome-terminal -- java -jar client/build/libs/ClientChatFusion-0.1.0.jar clientA localhost 7777 /tmp/clientA
mkdir -p /tmp/client2
gnome-terminal -- java -jar client/build/libs/ClientChatFusion-0.1.0.jar clientB localhost 7777 /tmp/clientB