www-data installe front avec npx nuxi init

This commit is contained in:
Valentin 2024-02-26 14:09:18 +01:00
parent 47528000bf
commit 0cc3dc535f
1 changed files with 1 additions and 0 deletions

View File

@ -364,6 +364,7 @@ if [[ "$answer" == "y" ]]; then
echo \"URL=https://${domain_name}\" >> .env &&\
echo \"DIRECTUS_URL=https://cms.${domain_name}\" >> .env &&\
tmux send-keys -t directus C-c &&\
npx nuxi@latest init &&\
NUXT_TELEMETRY_DISABLED=1 bash -c \"npm run build\" &&\
tmux new-session -d -s front &&\
tmux send-keys -t front \"cd ${front_directory} && node .output/server/index.mjs\" C-m &&\