File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313* MANIFEST
1414* artifacts
1515.DS_Store
16+ env
Original file line number Diff line number Diff line change 22
33mvn clean package
44
5- EXAMPLE_ZIP =raft-java-example-1.8.0-deploy.zip
5+ EXAMPLE_TAR =raft-java-example-1.8.0-deploy.tar.gz
66ROOT_DIR=./env
77mkdir -p $ROOT_DIR
88cd $ROOT_DIR
99
1010mkdir example1
1111cd example1
12- cp -f ../../target/$EXAMPLE_ZIP .
13- tar -zxvf $EXAMPLE_ZIP
12+ cp -f ../../target/$EXAMPLE_TAR .
13+ tar -zxvf $EXAMPLE_TAR
1414chmod +x ./bin/* .sh
1515nohup ./bin/run_server.sh ./data " 127.0.0.1:8051:1,127.0.0.1:8052:2,127.0.0.1:8053:3" " 127.0.0.1:8051:1" &
1616cd -
1717
1818mkdir example2
1919cd example2
20- cp -f ../../target/$EXAMPLE_ZIP .
21- tar -zxvf $EXAMPLE_ZIP
20+ cp -f ../../target/$EXAMPLE_TAR .
21+ tar -zxvf $EXAMPLE_TAR
2222chmod +x ./bin/* .sh
2323nohup ./bin/run_server.sh ./data " 127.0.0.1:8051:1,127.0.0.1:8052:2,127.0.0.1:8053:3" " 127.0.0.1:8052:2" &
2424cd -
2525
2626mkdir example3
2727cd example3
28- cp -f ../../target/$EXAMPLE_ZIP .
29- tar -zxvf $EXAMPLE_ZIP
28+ cp -f ../../target/$EXAMPLE_TAR .
29+ tar -zxvf $EXAMPLE_TAR
3030chmod +x ./bin/* .sh
3131nohup ./bin/run_server.sh ./data " 127.0.0.1:8051:1,127.0.0.1:8052:2,127.0.0.1:8053:3" " 127.0.0.1:8053:3" &
3232cd -
Original file line number Diff line number Diff line change 7878 <descriptors >
7979 <decriptor >src/main/assembly/assembly.xml</decriptor >
8080 </descriptors >
81+ <tarLongFileMode >posix</tarLongFileMode >
8182 </configuration >
8283 <executions >
8384 <execution >
Original file line number Diff line number Diff line change 44 http://maven.apache.org/xsd/assembly-2.0.0.xsd" >
55 <id >deploy</id >
66 <formats >
7- <format >zip </format >
7+ <format >tar.gz </format >
88 </formats >
99 <includeBaseDirectory >false</includeBaseDirectory >
1010 <fileSets >
You can’t perform that action at this time.
0 commit comments