summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShyam Sunder <sgsunder1@gmail.com>2020-12-19 16:32:29 -0500
committerShyam Sunder <sgsunder1@gmail.com>2020-12-19 16:32:29 -0500
commitbc6950538240daf37350749691d27282f06bf394 (patch)
tree554d4b9f9e933fe2f3967c6c7c932af97e7f34c0
parent05823e5dec5d4f14590263b3c2c04c5d86192618 (diff)
doc/install: applied formatting fixes to script
-rwxr-xr-xdoc/install.sh (renamed from install.sh)7
1 files changed, 4 insertions, 3 deletions
diff --git a/install.sh b/doc/install.sh
index 8b7115c..89691d5 100755
--- a/install.sh
+++ b/doc/install.sh
@@ -1,5 +1,7 @@
#!/bin/bash
+# NOTE: This script is still a work in progress
+
# This script is meant to automate the deployment of Szurubooru via Docker/Docker-Compose,
# and to automatically take the necessary steps to allow Szurubooru to run on ARM devices
# such as the Raspberry Pi.
@@ -97,7 +99,7 @@ function server_config () {
s|from: |from: $SMTP_FROM|" ./server/config.yaml
else # Warn user that they should set a contact email if no smtp host is specified
echo -e "${NOTICE} No SMTP host specified! It is strongly recommended you set a contact email"
- echo " in the next prompt for manual password reset requests."
+ echo " in the next prompt for manual password reset requests."
fi
echo "Enter your server's primary contact email address."
@@ -114,7 +116,7 @@ function set_env () {
echo -e "\n===[Environmental Variables]==="
echo "Enter your desired database username."; read -e -p "> " -i "szuru" DB_USER
while true; do # Ensures the user sets a database password for security reasons.
- echo "Enter your desired database password. (Will not print to console)"; read -s -p "> " DB_PASS
+ echo "Enter your desired database password. (Will not print to console)"; read -s -p "> " DB_PASS
if [ -z $DB_PASS ]; then echo -e "\nERROR: You must set a password!"; else break; fi
done
echo ""
@@ -160,4 +162,3 @@ chown -R $puid:$guid "$mount"
echo "All done! You should now be able to access Szurubooru using the port number you set."
exit 0
-