From c9d4bde63a994a25fa67ea81461b76d05565284e Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 15 Feb 2021 19:39:38 +0100 Subject: [PATCH] update for v0.10.10 --- scripts/_common.sh | 2 +- scripts/install | 3 +++ scripts/upgrade | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 70a80a15..324ffdf2 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,7 +5,7 @@ #================================================= # dependencies used by the app -pkg_dependencies="postgresql redis-server imagemagick jpegoptim optipng pngquant supervisor" +pkg_dependencies="postgresql redis-server libgd3 jpegoptim optipng pngquant ffmpeg imagemagick supervisor" YNH_PHP_VERSION="7.3" diff --git a/scripts/install b/scripts/install index c5f091f2..b8053737 100644 --- a/scripts/install +++ b/scripts/install @@ -171,6 +171,7 @@ ynh_script_progression --message="Deploying..." pushd "$final_path" php$phpversion artisan -n key:generate --force php$phpversion artisan horizon:install + php$phpversion artisan horizon:publish php$phpversion artisan config:clear php$phpversion artisan config:cache php$phpversion artisan route:cache @@ -180,6 +181,8 @@ pushd "$final_path" php$phpversion artisan update php$phpversion artisan horizon:purge php$phpversion artisan horizon:assets + php$phpversion artisan import:cities + php$phpversion artisan instance:actor popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 97d7921e..e79bd397 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -223,6 +223,7 @@ ynh_script_progression --message="Deploying..." pushd "$final_path" php$phpversion artisan horizon:install + php$phpversion artisan horizon:publish php$phpversion artisan config:clear php$phpversion artisan config:cache php$phpversion artisan route:clear @@ -234,6 +235,8 @@ pushd "$final_path" php$phpversion artisan update php$phpversion artisan horizon:purge php$phpversion artisan horizon:assets + php$phpversion artisan import:cities + php$phpversion artisan instance:actor popd #=================================================