mirror of
https://github.com/YunoHost-Apps/firefly-iii_ynh.git
synced 2024-09-03 18:36:13 +02:00
Added artisan firefly:upgrade-database in install
This commit is contained in:
parent
5bc3a9f512
commit
d7fdc701a9
1 changed files with 4 additions and 2 deletions
|
@ -128,14 +128,16 @@ ynh_replace_string "yunomail" "$email" "$final_path/.env"
|
|||
ynh_replace_string "yunodomain" "$domain" "$final_path/.env"
|
||||
|
||||
init_composer $final_path
|
||||
cd $final_path && sudo /usr/bin/php7.2 artisan config:clear
|
||||
( cd $final_path && sudo /usr/bin/php7.2 artisan config:clear )
|
||||
|
||||
db_name=$(ynh_sanitize_dbid $app)
|
||||
|
||||
# setup application config
|
||||
(
|
||||
cd $final_path && sudo /usr/bin/php7.2 artisan -q :refresh --seed --force
|
||||
cd $final_path && sudo /usr/bin/php7.2 artisan firefly:upgrade-database --force
|
||||
cd $final_path && sudo /usr/bin/php7.2 artisan passport:install --force
|
||||
|
||||
)
|
||||
#=================================================
|
||||
# SETUP APPLICATION PERMISSIONS
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue