From 88688d2d4f888dca7b205e295b95ff514090c529 Mon Sep 17 00:00:00 2001 From: Valentin Date: Fri, 3 May 2024 23:12:09 +0200 Subject: [PATCH] =?UTF-8?q?cr=C3=A9ation=20du=20dossier=20/var/www/html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 -- bin/install_nuxt_front.sh | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 6261abc..0828a1e 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,6 @@ On a fresh install as root user using `cd deployment_dcdn_static` -`chmod u+x install.sh` - 4. Launch the script `bash install.sh` diff --git a/bin/install_nuxt_front.sh b/bin/install_nuxt_front.sh index 3579529..d2efeee 100644 --- a/bin/install_nuxt_front.sh +++ b/bin/install_nuxt_front.sh @@ -21,6 +21,7 @@ echo "telemetry.enabled=false" >> /var/www/.nuxtrc chown -R www-data:www-data /var/www/.nuxtrc rm /var/www/html/* +mkdir /var/www/html chown www-data:www-data /var/www/html su -s /bin/bash -c "cd ${REPO_DIRECTORY} &&\