install directus 12
This commit is contained in:
parent
0fd4e1cfa8
commit
0ea9994ee7
|
@ -217,6 +217,7 @@ if [[ "$answer" == "y" ]]; then
|
|||
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
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue