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:
parent
280a850ada
commit
f3d057c7a1
5 changed files with 9 additions and 6 deletions
|
@ -3,7 +3,7 @@
|
|||
[](https://ci-apps.yunohost.org/jenkins/job/kimai2%20%28Community%29/lastBuild/consoleFull)
|
||||
[](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**
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Kimai2 package for YunoHost.",
|
||||
"fr": "Kimai2 de package d’application pour YunoHost."
|
||||
},
|
||||
"version": "0.3",
|
||||
"version": "0.4",
|
||||
"url": "https://v2.kimai.org",
|
||||
"license": "free",
|
||||
"maintainer": {
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue