install directus 13

This commit is contained in:
Valentin 2024-02-23 21:45:45 +01:00
parent 0ea9994ee7
commit fbd0479e08
1 changed files with 3 additions and 4 deletions

View File

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