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

Updated to version 0.4

This commit is contained in:
anmol26s 2018-09-02 02:26:26 +05:30
parent 280a850ada
commit f3d057c7a1
5 changed files with 9 additions and 6 deletions

View file

@ -3,7 +3,7 @@
[![Integration level](https://dash.yunohost.org/integration/kimai2.svg)](https://ci-apps.yunohost.org/jenkins/job/kimai2%20%28Community%29/lastBuild/consoleFull)
[![Install kimai2 with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=kimai2)<br>
Shipped Version: **0.3 (pre-release)**
Shipped Version: **0.4 (pre-release)**
**Please note that this app will install PHP 7.2**

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/kevinpapst/kimai2/archive/0.3.tar.gz
SOURCE_SUM=87e1b544c4483e4c11cf96fa44aca9bd71fac3a168155cd10b9922ab22e92678
SOURCE_URL=https://github.com/kevinpapst/kimai2/archive/0.4.tar.gz
SOURCE_SUM=2bfe446b5aeca3facfc2903cad4ca33fe04e8e71e45c1ecfe31669b08d31afe1
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true

View file

@ -6,7 +6,7 @@
"en": "Kimai2 package for YunoHost.",
"fr": "Kimai2 de package dapplication pour YunoHost."
},
"version": "0.3",
"version": "0.4",
"url": "https://v2.kimai.org",
"license": "free",
"maintainer": {

View file

@ -95,7 +95,7 @@ init_composer() {
|| ynh_die "Unable to install Composer"
# update dependencies to create composer.lock
exec_composer "$DESTDIR" install --no-dev --prefer-dist --no-scripts \
exec_composer "$DESTDIR" install --no-dev --optimize-autoloader \
|| ynh_die "Unable to update Kimai2 core dependencies"
}

View file

@ -76,7 +76,10 @@ ynh_install_php7
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source "$final_path"
init_composer $final_path
cd $final_path && sudo /usr/bin/php7.2 bin/console cache:clear --env=prod
cd $final_path && sudo /usr/bin/php7.2 bin/console cache:warmup --env=prod
cd $final_path && sudo /usr/bin/php7.2 bin/console doctrine:migrations:migrate
#=================================================
# NGINX CONFIGURATION
#=================================================