1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/firefly-iii_ynh.git synced 2024-09-03 18:36:13 +02:00

Update install

This commit is contained in:
Éric Gaspar 2023-05-21 11:57:11 +02:00
parent 92b91fad33
commit 78c3f1ab2b

View file

@ -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