diff --git a/install.sh b/install.sh index d6ca960..25d01cb 100644 --- a/install.sh +++ b/install.sh @@ -340,7 +340,7 @@ if [[ "$answer" == "y" ]]; then echo -e "${BLUE}git checkout -b prod${RESET}" echo -e "${BLUE}git add . && git commit -m "first commit to prod"${RESET}" echo -e "${BLUE}git push origin prod${RESET}" - echo -e "${PURPLE}${BOLD}What is the .git url of the repo${RESET}" + echo -e "${PURPLE}${BOLD}Enter the .git url of the repo${RESET}" read repo_url front_folder=$(echo "$repo_url" | sed 's#.*/\([^/]*\)\.git#\1#') @@ -357,6 +357,8 @@ if [[ "$answer" == "y" ]]; then echo \"URL=https://${domain_name}\" >> .env &&\ echo \"DIRECTUS_URL=https://cms.${domain_name}\" >> .env" $username + mkdir /var/www/.nuxtrc + chown -R www-data:www-data /var/www/.nuxtrc chown -R www-data:www-data /home/$username/$front_folder su -s /bin/bash -c "cd /home/${username}/${front_folder} &&\