1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monica_ynh.git synced 2024-09-03 19:46:23 +02:00

update version, add composer update

This commit is contained in:
Sebastian Gumprich 2017-09-03 18:37:46 +02:00
parent ac4780c887
commit 29654a541a
2 changed files with 4 additions and 1 deletions

View file

@ -3,7 +3,7 @@
#
# monica git version
VERSION="v0.5.0"
VERSION="v0.6.5"
# Remote URL to fetch monica source tarball
MONICA_SOURCE_URL="https://github.com/monicahq/monica/archive/${VERSION}.tar.gz"

View file

@ -56,6 +56,9 @@ sudo sed -i "s/yunodomain/$domain/g" $final_path/.env
# uses commas because path url contains a slash
sudo sed -i "s,yunopath,${path_url},g" $final_path/.env
exec_composer "$final_path" update --quiet --no-dev --prefer-dist \
|| ynh_die "Unable to update monica core dependencies"
# setup application config
cd $final_path && sudo /usr/bin/php7.0 artisan migrate --force
cd $final_path && sudo /usr/bin/php7.0 artisan optimize