From 787f57c34a7d78bb11e2473492e4258f4acd6c0a Mon Sep 17 00:00:00 2001 From: Nick Leffler Date: Thu, 6 Feb 2020 16:14:38 -0500 Subject: [PATCH] added comment not to add http/s --- deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index bf09bd3..763c1dd 100755 --- a/deploy.sh +++ b/deploy.sh @@ -19,7 +19,7 @@ read -p "Enter Site Name: " siteName read -p "Enter Site Title: " siteTitle read -p "SSL [Y/n]: " siteProtoIn read -p "Certbot ready? [Y/n]: " cbReady -read -p "Enter Site URL: " siteURL +read -p "Enter Site URL [without http/s]" siteURL read -p "Enter WPAdmin email: " adminEmail if [[ $siteProtoIn == "n" ]]; then @@ -228,7 +228,7 @@ cd "${siteFP}" || exit chown -R "${wwwUser}":"${wwwUser}" "$(dirname ${siteFP})" sudo -u "${wwwUser}" /usr/local/bin/wp core download sudo -u "${wwwUser}" /usr/local/bin/wp config create --dbname="${siteNoP}" --dbuser="${siteNoP}" --dbpass="${wpasswd}" --path="${siteFP}" -sudo -u "${wwwUser}" /usr/local/bin/wp core install --url="${siteURL}" --title="${siteTitle}" --admin_user="wpm258159" --admin_password="${wpapasswd}" --admin_email="${adminEmail}" --path="${siteFP}" --skip-email +sudo -u "${wwwUser}" /usr/local/bin/wp core install --url="${fullURL}" --title="${siteTitle}" --admin_user="wpm258159" --admin_password="${wpapasswd}" --admin_email="${adminEmail}" --path="${siteFP}" --skip-email # Confiugre nginx and create config