install directus 3
This commit is contained in:
parent
9475871df8
commit
0e5eba88fc
|
@ -213,8 +213,8 @@ read answer
|
|||
if [[ "$answer" == "y" ]]; then
|
||||
install_pkg tmux
|
||||
get_username
|
||||
su -c 'whoami && cd &&\
|
||||
npm init directus-project@latest cms.${domain_name} &&\
|
||||
su -c 'cd &&\
|
||||
/home/${username}/.nvm/versions/node/v18.19.1/bin/npm init directus-project@latest cms.${domain_name} &&\
|
||||
echo "HOST=${ip}" >> cms.${domain_name}/.env &&\
|
||||
echo "PUBLIC_URL=cms.${domain_name}" >> cms.${domain_name}/.env' $username
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue