install directus 5
This commit is contained in:
parent
27af546b6c
commit
845f314c52
|
@ -214,9 +214,9 @@ if [[ "$answer" == "y" ]]; then
|
||||||
install_pkg tmux
|
install_pkg tmux
|
||||||
get_username
|
get_username
|
||||||
echo "${username}"
|
echo "${username}"
|
||||||
su -c 'cd &&\
|
su -c "cd &&\
|
||||||
npm init directus-project@latest cms.${domain_name} &&\
|
npm init directus-project@latest cms.${domain_name} &&\
|
||||||
echo "HOST=${ip}" >> cms.${domain_name}/.env &&\
|
echo \"HOST=${ip}\" >> cms.${domain_name}/.env &&\
|
||||||
echo "PUBLIC_URL=cms.${domain_name}" >> cms.${domain_name}/.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