feature(db自动构建)增加db自动构建脚本及maven依赖包。

This commit is contained in:
doufenghu
2018-11-02 16:45:31 +08:00
parent 6673cedd1a
commit 678560dc09
12 changed files with 1789 additions and 49 deletions

32
bin/init-db.sh Normal file
View File

@@ -0,0 +1,32 @@
#!/usr/bin/env bash
# /**
# * Copyright (c) All rights reserved.
# *
# * Author: darnell
# *
# */
echo ""
echo "[info] rebuilding your DB and clearing data......"
read -s -n1 -p "请按任意键继续 ... "
echo ""
echo "[INFO] This operation will clear your data and restore initial state"
read -s -n1 -p "请按任意键继续 ... "
echo ""
echo "[WARN] Do you confirm the continuation ? Otherwise, please close the window5"
read -s -n1 -p "请按任意键继续 ... "
echo ""
echo "[WARN] Do you confirm the continuation ? Otherwise, please close the window4"
read -s -n1 -p "请按任意键继续 ... "
echo ""
echo "[WARN] Do you confirm the continuation ? Otherwise, please close the window3"
read -s -n1 -p "请按任意键继续 ... "
echo ""
echo "[WARN] Do you confirm the continuation ? Otherwise, please close the window2"
read -s -n1 -p "请按任意键继续 ... "
echo ""
echo "[WARN] Do you confirm the continuation ? Otherwise, please close the window。1"
read -s -n1 -p "请按任意键继续 ... "
echo ""
cd ..
mvn antrun:run -Pinit-db