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:
parent
2cef3f3514
commit
5e19d80d43
3 changed files with 9 additions and 7 deletions
|
@ -7,6 +7,8 @@
|
|||
# dependencies used by the app
|
||||
pkg_dependencies=""
|
||||
|
||||
YNH_PHP_VERSION="7.3"
|
||||
|
||||
#=================================================
|
||||
# PERSONAL HELPERS
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue