feat: keep up with technical recommandations

This commit is contained in:
2023-12-11 14:33:28 +01:00
parent 3b4e0762c2
commit c7d1fb4ef3
31 changed files with 7 additions and 4883 deletions

View File

@ -0,0 +1,17 @@
#!/bin/bash
set -xeo pipefail
[ ! -d /var/www/.config ] && sudo mkdir -p /var/www/.config
[ -d /var/www/.config ] && sudo chown -R www-data: /var/www/.config
[ ! -d /var/www/.cache ] && sudo mkdir -p /var/www/.cache
[ -d /var/www/.cache ] && sudo chown -R www-data: /var/www/.cache
sudo chown -R www-data: /var/www
cp /bin/composer.phar /var/www/composer.phar
cd /var/www
php composer.phar install
npm install
npm run build