You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cecho -c 'blue'"Welcome to the RPi Dashboard installer!"
65
-
read -p "This setup assumes you have a working web server installed that is up and running. Continue? (Y/N): " confirm && [[ $confirm== [yY] ||$confirm== [yY][eE][sS] ]] ||exit 1
echo"${RED}Git is not installed. Please install Git to continue.${RESET}"
69
+
exit 1
70
+
fi
71
+
read -p "Attention! By continuing you confirm having a working web server (Lighttpd / Apache) with PHP (5+) setup that is properly configured and running. Continue? (Y/N): " confirm && [[ $confirm== [yY] ||$confirm== [yY][eE][sS] ]] ||exit 1
66
72
hostn="`hostname`"
67
-
cecho -c 'blue'"This setup will install the dashboard to /var/www/html."
68
-
_process "Please choose your subfolder name, so you will be able to call the dashboard at http://$hostn/{your_subfolder_name}"
_success "Installation done! To access the dashboard open up a web browser with URL: http://$hostn/$subfoldern"
73
+
cecho -c 'blue'"This setup will install the RPi Dashboard to -> /var/www/html/"
74
+
_process "Please choose a subfolder name. This name will be part of the address http://$hostn/{your_subfolder_name} with which you can access your RPi dashboard within your local network."
echo"${RED}Failed to create sub-directory for the RPi Dashboard!${RESET}"
90
+
echo"${YELLOW}Please make sure that the folder /var/www/html/ exists (if not, make sure a web server is installed first) and that you have necessary permissions to write into that folder.${RESET}"
0 commit comments