update script

This commit is contained in:
thinkgem
2023-09-12 10:24:58 +08:00
parent cc5a1f3a0e
commit 95fb0a5764
5 changed files with 19 additions and 13 deletions

View File

@@ -15,7 +15,7 @@ echo "[信息] 在 v4.2 版本以后,官方初始化数据库是比较安全
echo ""
echo "[信息] 如果你是升级到该版本,不排除你是否升级完整,为安全起见,建议先备份数据库后再操作。"
echo ""
echo -n "请按任意键继续 ... "
echo "请按回车键继续 ... "
read text
cd ..
@@ -24,10 +24,12 @@ mvn clean compile -Dmaven.test.skip=true -U
echo ""
echo "[信息] 依赖下载完成,下面开始初始化数据库。"
echo ""
echo -n "请按任意键继续 ... "
echo "请按回车键继续 ... "
read text
MAVEN_OPTS="$MAVEN_OPTS -Xms512m -Xmx1024m"
mvn test -Dmaven.test.skip=false -Dtest=com.jeesite.test.InitData
cd bin
cd bin
echo "请按回车键完成 ... "
read text