1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/invoiceninja_ynh.git synced 2024-09-03 19:26:22 +02:00

Try to fix install

This commit is contained in:
yalh76 2021-05-19 00:56:47 +02:00
parent 2cef3f3514
commit 5e19d80d43
3 changed files with 9 additions and 7 deletions

View file

@ -7,6 +7,8 @@
# dependencies used by the app
pkg_dependencies=""
YNH_PHP_VERSION="7.3"
#=================================================
# PERSONAL HELPERS
#=================================================

View file

@ -133,8 +133,8 @@ ynh_script_progression --message="Building the application..."
pushd "$final_path"
# Run the database migrations and initially fill the db
php$phpversion artisan migrate --no-interaction --verbose --force
php$phpversion artisan db:seed --force --no-interaction --verbose
php$phpversion artisan migrate --force
php$phpversion artisan db:seed --force
popd
#=================================================

View file

@ -135,17 +135,17 @@ ynh_script_progression --message="Upgrading the database..."
pushd "$final_path"
# Put the application into maintenance mode
php$phpversion artisan down --no-interaction --verbose
php$phpversion artisan down
# Optimize the framework for better performance
php$phpversion artisan optimize --force --no-interaction --verbose
php$phpversion artisan optimize --force
# Run the database migrations
php$phpversion artisan migrate --no-interaction --verbose
php$phpversion artisan db:seed --class=UpdateSeeder --force --no-interaction --verbose
php$phpversion artisan migrate --force
php$phpversion artisan db:seed --class=UpdateSeeder --force
# Bring the application out of maintenance mode
php$phpversion artisan up --no-interaction --verbose
php$phpversion artisan up
popd
#=================================================