From ac6e893ecd73329794699888ee32171e3917f027 Mon Sep 17 00:00:00 2001 From: Sven Joder Date: Fri, 30 Aug 2024 10:47:59 +0200 Subject: [PATCH] rerun theme after update; update chromedriver config --- .env.test | 2 +- Makefile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.env.test b/.env.test index 0de10b3..754f4e0 100644 --- a/.env.test +++ b/.env.test @@ -3,7 +3,7 @@ APP_SECRET=test APP_LOCALE=de APP_CACHE_DIR=/var/www/wirhub/var/cache PANTHER_APP_ENV=test -PANTHER_CHROME_ARGUMENTS="--ignore-certificate-errors --disable-dev-shm-usage --log-level=DEBUG --log-path=/var/www/wirhub/var/log --user-data-dir=/var/www/wirhub/var/chrome" +PANTHER_CHROME_ARGUMENTS="--ignore-certificate-errors --disable-dev-shm-usage --log-level=DEBUG --log-path=/var/www/wirhub/var/log --user-data-dir=/var/www/wirhub/var/chrome --headless=new --window-size=1280,720" PANTHER_EXTERNAL_BASE_URI=http://localhost PANTHER_NO_SANDBOX=1 PANTHER_WEB_SERVER_DIR=./public diff --git a/Makefile b/Makefile index 094627c..9242070 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,9 @@ init: COMPOSER_ALLOW_SUPERUSER=1 composer install --no-dev --optimize-autoloader COMPOSER_ALLOW_SUPERUSER=1 composer dump-env prod php bin/console doctrine:migrations:migrate --no-interaction + php bin/console app:theme:refresh + php bin/console app:update php bin/console app:theme:refresh - php bin/console app:update ifeq ($(shell id -u), 0) chown -R www-data:www-data public/ chown -R www-data:www-data var/