install directus 13
This commit is contained in:
parent
0ea9994ee7
commit
fbd0479e08
|
@ -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
|
Loading…
Reference in New Issue