diff --git a/install.sh b/install.sh index 84531e2..995a0c0 100644 --- a/install.sh +++ b/install.sh @@ -217,6 +217,7 @@ if [[ "$answer" == "y" ]]; then get_username su -c "cd &&\ npm init -y directus-project@latest cms.${domain_name} 2>/dev/null &&\ + touch cms.${domain_name}/.env &&\ echo \"HOST=${ip}\" >> cms.${domain_name}/.env &&\ echo \"PUBLIC_URL=cms.${domain_name}\" >> cms.${domain_name}/.env" $username fi