mirror of
https://github.com/YunoHost-Apps/monica_ynh.git
synced 2024-09-03 19:46:23 +02:00
add composer update to upgrade script
This commit is contained in:
parent
20aa00b624
commit
228ffffa3e
1 changed files with 2 additions and 0 deletions
|
@ -52,6 +52,8 @@ sudo sed -i "s/yunodomain/$domain/g" $final_path/.env
|
||||||
# uses commas because path url contains a slash
|
# uses commas because path url contains a slash
|
||||||
sudo sed -i "s,yunopath,${path_url},g" $final_path/.env
|
sudo sed -i "s,yunopath,${path_url},g" $final_path/.env
|
||||||
|
|
||||||
|
exec_composer $final_path update
|
||||||
|
|
||||||
# setup application config
|
# setup application config
|
||||||
cd $final_path && /usr/bin/php7.0 artisan -q migrate --force
|
cd $final_path && /usr/bin/php7.0 artisan -q migrate --force
|
||||||
cd $final_path && /usr/bin/php7.0 artisan -q optimize
|
cd $final_path && /usr/bin/php7.0 artisan -q optimize
|
||||||
|
|
Loading…
Reference in a new issue