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:
parent
ac4780c887
commit
29654a541a
2 changed files with 4 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# monica git version
|
# monica git version
|
||||||
VERSION="v0.5.0"
|
VERSION="v0.6.5"
|
||||||
|
|
||||||
# Remote URL to fetch monica source tarball
|
# Remote URL to fetch monica source tarball
|
||||||
MONICA_SOURCE_URL="https://github.com/monicahq/monica/archive/${VERSION}.tar.gz"
|
MONICA_SOURCE_URL="https://github.com/monicahq/monica/archive/${VERSION}.tar.gz"
|
||||||
|
|
|
@ -56,6 +56,9 @@ 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 --quiet --no-dev --prefer-dist \
|
||||||
|
|| ynh_die "Unable to update monica core dependencies"
|
||||||
|
|
||||||
# setup application config
|
# setup application config
|
||||||
cd $final_path && sudo /usr/bin/php7.0 artisan migrate --force
|
cd $final_path && sudo /usr/bin/php7.0 artisan migrate --force
|
||||||
cd $final_path && sudo /usr/bin/php7.0 artisan optimize
|
cd $final_path && sudo /usr/bin/php7.0 artisan optimize
|
||||||
|
|
Loading…
Add table
Reference in a new issue