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