install directus 12

This commit is contained in:
Valentin 2024-02-23 21:41:52 +01:00
parent 0fd4e1cfa8
commit 0ea9994ee7
1 changed files with 1 additions and 0 deletions

View File

@ -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