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 install_pkg tmux
get_username get_username
su -c "cd &&\ su -c "cd &&\
npm init -y directus-project@latest cms.${domain_name} 2>/dev/null &&\ npm init -y directus-project@latest cms &&\
touch cms.${domain_name}/.env &&\ echo \"HOST=${ip}\" >> cms/.env &&\
echo \"HOST=${ip}\" >> cms.${domain_name}/.env &&\ echo \"PUBLIC_URL=cms.${domain_name}\" >> cms/.env" $username
echo \"PUBLIC_URL=cms.${domain_name}\" >> cms.${domain_name}/.env" $username
fi fi
# TODO REMOVE EXPECT IF IT IS INSTALLED # TODO REMOVE EXPECT IF IT IS INSTALLED