新增专为分离端提供的接口Web服务
This commit is contained in:
26
web-api/bin/run-web.sh
Normal file
26
web-api/bin/run-web.sh
Normal file
@@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
# /**
|
||||
# * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
|
||||
# * No deletion without permission, or be held responsible to law.
|
||||
# *
|
||||
# * Author: ThinkGem@163.com
|
||||
# *
|
||||
# */
|
||||
echo ""
|
||||
echo "[信息] 打包Web工程,并运行Web工程。"
|
||||
echo ""
|
||||
|
||||
# 打包Web工程(开始)
|
||||
cd ..
|
||||
mvn clean package spring-boot:repackage -Dmaven.test.skip=true -U
|
||||
cd target
|
||||
# 打包Web工程(结束)
|
||||
|
||||
|
||||
# 根据情况修改 web.jar 为您的 jar 包名称
|
||||
mkdir web
|
||||
cp web.war ./web
|
||||
cd web
|
||||
jar -xvf web.war
|
||||
cd WEB-INF
|
||||
exec ./startup.sh
|
||||
Reference in New Issue
Block a user