Skip to content

Commit

Permalink
Modify the auto-deployment project script
Browse files Browse the repository at this point in the history
  • Loading branch information
“zzxxiansheng committed Apr 18, 2024
1 parent 6ca4640 commit 81ae7a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions deployment/auto-deploy-eventmesh-dashboard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ if [ $LOCAL != $REMOTE ]; then
fi

# Compile and package the Jar file
./mvnw clean package -DskipTests -Dcheckstyle.skip=true
./mvn clean package -DskipTests -Dcheckstyle.skip=true

# Start the springboot application and record the process id to pid.log file
nohup java -DDB_ADDRESS=$DB_ADDRESS -DDB_USERNAME=$DB_USERNAME -DDB_PASSWORD=$DB_PASSWORD -jar $JAR_FILE_PATH > /dev/null 2>&1 &
Expand All @@ -83,7 +83,7 @@ else

if [ ! -s $PID_LOG ] || ! is_process_running $(cat $PID_LOG); then
# If the pid.log file does not exist or the process is not running, compile and package the Jar file
./mvnw clean package -DskipTests -Dcheckstyle.skip=true
./mvn clean package -DskipTests -Dcheckstyle.skip=true

# Start the springboot application and record the process id to pid.log file
nohup java -DDB_ADDRESS=$DB_ADDRESS -DDB_USERNAME=$DB_USERNAME -DDB_PASSWORD=$DB_PASSWORD -jar $JAR_FILE_PATH > /dev/null 2>&1 &
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ decoration:
constantConfig:
#The 'all' configuration item indicates that the decoration component is allowed to enable pagination and return the front-end style function in a unified manner
all: true
#the 'corsEnable' configuration item indicates that cross-domain is enabled
#the 'corsEnable' configuration item indicates that cross-domain is enabled
corsEnable: true


Expand Down

0 comments on commit 81ae7a2

Please sign in to comment.