Install script fixes
parent
08f69dcf05
commit
7e5e68dc23
13
install.sh
13
install.sh
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue