Browse Source

add yxt-cq

master
lizw 4 years ago
parent
commit
98032b27e3
  1. 2
      yxt-cq/build.sh
  2. 6
      yxt-cq/deploy-lims.sh

2
yxt-cq/build.sh

@ -21,7 +21,7 @@ branchArr=(
"master" "master"
"master" "master"
"master" "master"
"master" "cq_2022_03_07"
) )
positionArr=( positionArr=(
"." "."

6
yxt-cq/deploy-lims.sh

@ -9,7 +9,7 @@ serverName=yxt_lmis_cq
logPath=~/logs/yxt_lmis_cq_nohup.log logPath=~/logs/yxt_lmis_cq_nohup.log
cmd=$1 cmd=$1
profiles=${2:-"hwy"} profiles=${2:-"yxt-cq-prod"}
echoPrefix="\033[36m+" echoPrefix="\033[36m+"
echoSuffix="\033[0m" echoSuffix="\033[0m"
@ -61,8 +61,8 @@ startServer() {
if [ -z $pid ];then if [ -z $pid ];then
echo -e "$echoPrefix cd $dirPath $echoSuffix" echo -e "$echoPrefix cd $dirPath $echoSuffix"
cd $dirPath cd $dirPath
echo -e "$echoPrefix java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./ent-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=8082 >$logPath 2>&1 & $echoSuffix" echo -e "$echoPrefix java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./ent-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=8182 >$logPath 2>&1 & $echoSuffix"
java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./ent-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=8082 >$logPath 2>&1 & java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./ent-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=8182 >$logPath 2>&1 &
echo "$serverName 启动成功!" echo "$serverName 启动成功!"
else else
echo "$serverName 正在运行..." echo "$serverName 正在运行..."

Loading…
Cancel
Save