|
@@ -1,15 +1,15 @@
|
|
|
#!/bin/bash
|
|
|
pwd
|
|
|
|
|
|
-rm -rf ~/project/examcloud/examcloud-basic-distribution.zip
|
|
|
-rm -rf ~/project/examcloud/examcloud-basic/lib/
|
|
|
+rm -rf ~/project/examcloud/examcloud-ws-distribution.zip
|
|
|
+rm -rf ~/project/examcloud/examcloud-ws/lib/
|
|
|
|
|
|
-cp examcloud-basic-starter/target/examcloud-basic-distribution.zip ~/project/examcloud/
|
|
|
+cp examcloud-ws-starter/target/examcloud-ws-distribution.zip ~/project/examcloud/
|
|
|
|
|
|
cd ~/project/examcloud/
|
|
|
-unzip -o examcloud-basic-distribution.zip
|
|
|
+unzip -o examcloud-ws-distribution.zip
|
|
|
|
|
|
-cd examcloud-basic
|
|
|
+cd examcloud-ws
|
|
|
echo "--spring.profiles.active=test --examcloud.startup.configCenterHost=localhost" > start.args
|
|
|
echo "-server -Xms512m -Xmx512m -XX:-UseGCOverheadLimit" > start.vmoptions
|
|
|
|