From fbd0479e08f46e7b87e544a1ed9806e4273a7582 Mon Sep 17 00:00:00 2001 From: Valentin Date: Fri, 23 Feb 2024 21:45:45 +0100 Subject: [PATCH] install directus 13 --- install.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 995a0c0..c4f70cc 100644 --- a/install.sh +++ b/install.sh @@ -216,9 +216,8 @@ if [[ "$answer" == "y" ]]; then install_pkg tmux 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 + npm init -y directus-project@latest cms &&\ + echo \"HOST=${ip}\" >> cms/.env &&\ + echo \"PUBLIC_URL=cms.${domain_name}\" >> cms/.env" $username fi # TODO REMOVE EXPECT IF IT IS INSTALLED \ No newline at end of file