Add db setup

This commit is contained in:
Skylar Grant 2023-01-22 22:52:05 -05:00
parent 7dfafc95d9
commit 87631c8aa7

View File

@ -43,6 +43,7 @@ Please enter an option from below:
[2] Quit Hestia Web Portal
[3] View the logs
[4] Update Hestia
[5] Set up database
[0] Quit Control Panel"
@ -73,6 +74,10 @@ case "$opt" in
rm data/config.db
git pull && ./hestia.sh
;;
5)
# Set up database
node modules/_setupdb.js
;;
0)
# Exit the script
clear