From 78c3f1ab2b72da86bdb45be6e383f12cea19f9c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 21 May 2023 11:57:11 +0200 Subject: [PATCH] Update install --- scripts/install | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 6df007f..1982412 100755 --- a/scripts/install +++ b/scripts/install @@ -66,7 +66,7 @@ ynh_add_nginx_config ynh_script_progression --message="Installing composer dependencies..." #ynh_exec_warn_less ynh_install_composer --workdir="$install_dir" -ynh_exec_warn_less ynh_install_composer --install_args="create-project grumpydictator/firefly-iii --no-dev --prefer-dist firefly-iii 6.0.10" +ynh_exec_warn_less ynh_install_composer --install_args="--no-dev --prefer-dist" #================================================= # ADD A CONFIGURATION @@ -83,9 +83,16 @@ chown $app "$install_dir/.env" #================================================= ynh_script_progression --message="Deploying..." +#pushd "$install_dir" +# php$phpversion artisan migrate:refresh --seed +# php$phpversion artisan firefly-iii:upgrade-database +# php$phpversion artisan passport:install +#popd + pushd "$install_dir" - php$phpversion artisan migrate:refresh --seed php$phpversion artisan firefly-iii:upgrade-database + php$phpversion artisan firefly-iii:correct-database + php$phpversion artisan firefly-iii:report-integrity php$phpversion artisan passport:install popd