install directus 7
This commit is contained in:
parent
297b2e804b
commit
c5d459f55f
|
@ -213,8 +213,8 @@ read answer
|
||||||
if [[ "$answer" == "y" ]]; then
|
if [[ "$answer" == "y" ]]; then
|
||||||
install_pkg tmux
|
install_pkg tmux
|
||||||
get_username
|
get_username
|
||||||
su -c "whoami && cd &&\
|
su -c "cd &&\
|
||||||
/home/${username}/.nvm/versions/node/v18.19.1/lib/node_modules/npm init directus-project@latest cms.${domain_name} &&\
|
/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 \"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
|
||||||
|
|
Loading…
Reference in New Issue