From 0ea9994ee71591ddc3ebd72255bbde1384014323 Mon Sep 17 00:00:00 2001 From: Valentin Date: Fri, 23 Feb 2024 21:41:52 +0100 Subject: [PATCH] install directus 12 --- install.sh | 1 + 1 file changed, 1 insertion(+) 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