Install script fixes

main
Yasen Pramatarov 2024-07-18 20:00:05 +03:00
parent 08f69dcf05
commit 7e5e68dc23
1 changed files with 7 additions and 6 deletions

View File

@ -1,13 +1,14 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo 'Jilo-Web install script' echo "Jilo-Web install script"
# FIXME # enter domain
#enter domain read -p "Domain name for the web service [localhost]: " DOMAIN
DOMAIN="localhost" DOMAIN=${DOMAIN:-localhost}
#enter folder # enter folder
WEB_DIR="jilo-web" read -p "Web subfolder [jilo-web]: " WEB_DIR
WEB_DIR=${WEB_DIR:-jilo-web}
INSTALL_DIR="/opt/jilo-web/public_html" INSTALL_DIR="/opt/jilo-web/public_html"
DOC_DIR="/opt/jilo-web/doc" DOC_DIR="/opt/jilo-web/doc"