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 Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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