This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
k18-ntcs-web-argus-service/bin/init-db.sh

33 lines
1.1 KiB
Bash
Raw Normal View History

#!/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