From 87631c8aa79d73113abe3d60face3ff802878dc1 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Sun, 22 Jan 2023 22:52:05 -0500 Subject: [PATCH] Add db setup --- hestia.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hestia.sh b/hestia.sh index 8e311dd..ea78ff1 100755 --- a/hestia.sh +++ b/hestia.sh @@ -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