mirror of
https://github.com/YunoHost-Apps/lychee_ynh.git
synced 2024-09-03 19:36:36 +02:00
Testing (#63)
* #39 * Update upgrade * Update manifest.json * Auto-update README * Update _common.sh * Update _common.sh * Cleaning up * Fix * Create DESCRIPTION.md * Auto-update README * Create updater.sh * Update updater.sh * Create updater.yml (#42) * Update upgrade * Update upgrade * Auto-update README * Update upgrade * Update upgrade * Apply example_ynh (#43) * Auto-update README * Apply example_ynh * Auto-update README * fix missing datadir * Fix missing phpversion * Update upgrade * Update check_process Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Auto-update README * 4.7.0 (#50) * 4.6.2 * Auto-update README * 4.7.0 * Auto-update README * Fix PHP * Update upgrade * Update restore * Update install * Update install * Update PHP to 8.1 * Update upgrade * Update install * Fix * Update ffprobe.patch * Update install * Update install * Update upgrade Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Upgrade auto-updater (#58) * [autopatch] Upgrade auto-updater * Auto-update README --------- Co-authored-by: tituspijean <titus@pijean.ovh> * Update .env.example * Version 2 (#61) * v2 * fix * v2 * Update manifest.toml * Auto-update README * Fix * Auto-update README * 4.7.2 * Auto-update README * Update install * Update manifest.toml * Update _common.sh * Update install * Update install * Update .env.example * Update install * Update install * Update install * Update install * Update install * Update install * Update install * Update install --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: yalh76 <yalh@yahoo.com> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com> Co-authored-by: tituspijean <titus@pijean.ovh>
This commit is contained in:
parent
e75e82ea80
commit
491f3abd4a
7 changed files with 15 additions and 11 deletions
|
@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
||||||
|
|
||||||
Lychee is a free photo-management tool, which runs on your server or web-space. Installing is a matter of seconds. Upload, manage and share photos like from a native application. Lychee comes with everything you need and all your photos are stored securely.
|
Lychee is a free photo-management tool, which runs on your server or web-space. Installing is a matter of seconds. Upload, manage and share photos like from a native application. Lychee comes with everything you need and all your photos are stored securely.
|
||||||
|
|
||||||
**Shipped version:** 4.7.0~ynh3
|
**Shipped version:** 4.7.2~ynh1
|
||||||
|
|
||||||
**Demo:** https://lycheeorg.github.io/demo/
|
**Demo:** https://lycheeorg.github.io/demo/
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
|
||||||
|
|
||||||
Lychee is a free photo-management tool, which runs on your server or web-space. Installing is a matter of seconds. Upload, manage and share photos like from a native application. Lychee comes with everything you need and all your photos are stored securely.
|
Lychee is a free photo-management tool, which runs on your server or web-space. Installing is a matter of seconds. Upload, manage and share photos like from a native application. Lychee comes with everything you need and all your photos are stored securely.
|
||||||
|
|
||||||
**Version incluse :** 4.7.0~ynh3
|
**Version incluse :** 4.7.2~ynh1
|
||||||
|
|
||||||
**Démo :** https://lycheeorg.github.io/demo/
|
**Démo :** https://lycheeorg.github.io/demo/
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ DB_USERNAME=__DB_USER__
|
||||||
DB_PASSWORD=__DB_PWD__
|
DB_PASSWORD=__DB_PWD__
|
||||||
DB_LOG_SQL=false
|
DB_LOG_SQL=false
|
||||||
|
|
||||||
TIMEZONE=UTC
|
TIMEZONE=__TIMEZONE__
|
||||||
|
|
||||||
# folders in which the files will be stored
|
# folders in which the files will be stored
|
||||||
LYCHEE_DIST="__INSTALL_DIR__/public/dist/"
|
LYCHEE_DIST="__INSTALL_DIR__/public/dist/"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://github.com/LycheeOrg/Lychee/releases/download/v4.7.0/Lychee.zip
|
SOURCE_URL=https://github.com/LycheeOrg/Lychee/releases/download/v4.7.2/Lychee.zip
|
||||||
SOURCE_SUM=5b2135a53ee938506e7375f9a63636071d31eebbc143ae9d3c29fb3fb98058fb
|
SOURCE_SUM=6353db3f2b0963f4a94576c2b16ed7eb7bb2954cd0b0dd745ba4db47998e8df0
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=zip
|
SOURCE_FORMAT=zip
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
|
@ -5,7 +5,7 @@ name = "Lychee"
|
||||||
description.en = "Photo-management-system to manage and share photos"
|
description.en = "Photo-management-system to manage and share photos"
|
||||||
description.fr = "Système de gestion de photos pour gérer et partager des photos"
|
description.fr = "Système de gestion de photos pour gérer et partager des photos"
|
||||||
|
|
||||||
version = "4.7.0~ynh3"
|
version = "4.7.2~ynh1"
|
||||||
|
|
||||||
maintainers = ["eric_G"]
|
maintainers = ["eric_G"]
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ ram.runtime = "50M"
|
||||||
main.auth_header = false
|
main.auth_header = false
|
||||||
|
|
||||||
[resources.apt]
|
[resources.apt]
|
||||||
packages = "mariadb-server ffmpeg php8.1-xml php8.1-imagick php8.1-bcmath php8.1-exif php8.1-mbstring php8.1-gd php8.1-mysqli php8.1-zip php8.1-intl"
|
packages = "mariadb-server ffmpeg php8.2-xml php8.2-imagick php8.2-bcmath php8.2-exif php8.2-mbstring php8.2-gd php8.2-mysqli php8.2-zip php8.2-intl"
|
||||||
|
|
||||||
[resources.database]
|
[resources.database]
|
||||||
type = "mysql"
|
type = "mysql"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Composer version
|
# Composer version
|
||||||
YNH_COMPOSER_VERSION="2.3.5"
|
YNH_COMPOSER_VERSION="2.5.4"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# PERSONAL HELPERS
|
# PERSONAL HELPERS
|
||||||
|
|
|
@ -17,6 +17,8 @@ fpm_footprint="low"
|
||||||
fpm_free_footprint=0
|
fpm_free_footprint=0
|
||||||
fpm_usage="low"
|
fpm_usage="low"
|
||||||
|
|
||||||
|
timezone="$(cat /etc/timezone)"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STORE SETTINGS FROM MANIFEST
|
# STORE SETTINGS FROM MANIFEST
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -36,6 +38,7 @@ ynh_setup_source --dest_dir="$install_dir"
|
||||||
chmod 750 "$install_dir/bootstrap/cache"
|
chmod 750 "$install_dir/bootstrap/cache"
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
chown -R $app:www-data "$install_dir"
|
chown -R $app:www-data "$install_dir"
|
||||||
|
chown -R $app: "$install_dir/public/sym/"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# PHP-FPM CONFIGURATION
|
# PHP-FPM CONFIGURATION
|
||||||
|
@ -63,9 +66,10 @@ ynh_script_progression --message="Creating a data directory..." --weight=1
|
||||||
mkdir -p $data_dir/uploads
|
mkdir -p $data_dir/uploads
|
||||||
mkdir -p $data_dir/uploads/{big,import,medium,raw,small,thumb}
|
mkdir -p $data_dir/uploads/{big,import,medium,raw,small,thumb}
|
||||||
|
|
||||||
chmod 750 "$data_dir"
|
chmod 775 "$data_dir/uploads/"
|
||||||
chmod -R o-rwx "$data_dir"
|
chmod 2775 "$data_dir/uploads/import/"
|
||||||
chown -R $app:www-data "$data_dir"
|
chmod -R o-rwx "$data_dir/uploads/"
|
||||||
|
chown -R $app:$app "$data_dir/uploads/"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL APP WITH COMPOSER
|
# INSTALL APP WITH COMPOSER
|
||||||
|
|
Loading…
Reference in a new issue