From 7e5e68dc238899e3cec72758f748065c25845e17 Mon Sep 17 00:00:00 2001 From: Yasen Pramatarov Date: Thu, 18 Jul 2024 20:00:05 +0300 Subject: [PATCH] Install script fixes --- install.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index da520a2..0c57ea3 100755 --- a/install.sh +++ b/install.sh @@ -1,13 +1,14 @@ #!/usr/bin/env bash -echo 'Jilo-Web install script' +echo "Jilo-Web install script" -# FIXME -#enter domain -DOMAIN="localhost" +# enter domain +read -p "Domain name for the web service [localhost]: " DOMAIN +DOMAIN=${DOMAIN:-localhost} -#enter folder -WEB_DIR="jilo-web" +# enter folder +read -p "Web subfolder [jilo-web]: " WEB_DIR +WEB_DIR=${WEB_DIR:-jilo-web} INSTALL_DIR="/opt/jilo-web/public_html" DOC_DIR="/opt/jilo-web/doc"