mirror of
https://github.com/YunoHost-Apps/directorylister_ynh.git
synced 2024-09-03 18:26:02 +02:00
Merge pull request #5 from YunoHost-Apps/ci-auto-update-4.0.0
Upgrade to v4.0.0
This commit is contained in:
commit
de34aa2e5c
10 changed files with 298 additions and 49 deletions
8
ALL_README.md
Normal file
8
ALL_README.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
# All available README files by language
|
||||
|
||||
- [Read the README in English](README.md)
|
||||
- [Lee el README en español](README_es.md)
|
||||
- [Irakurri README euskaraz](README_eu.md)
|
||||
- [Lire le README en français](README_fr.md)
|
||||
- [Le o README en galego](README_gl.md)
|
||||
- [阅读中文(简体)的 README](README_zh_Hans.md)
|
28
README.md
28
README.md
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
|
||||
N.B.: This README was automatically generated by <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
||||
It shall NOT be edited by hand.
|
||||
-->
|
||||
|
||||
|
@ -9,10 +9,10 @@ It shall NOT be edited by hand.
|
|||
|
||||
[![Install Directory Lister with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=directorylister)
|
||||
|
||||
*[Lire ce readme en français.](./README_fr.md)*
|
||||
*[Read this README in other languages.](./ALL_README.md)*
|
||||
|
||||
> *This package allows you to install Directory Lister quickly and simply on a YunoHost server.
|
||||
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
|
||||
> *This package allows you to install Directory Lister quickly and simply on a YunoHost server.*
|
||||
> *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.*
|
||||
|
||||
## Overview
|
||||
|
||||
|
@ -30,9 +30,9 @@ Directory Lister is the easiest way to expose the contents of any web-accessible
|
|||
- Multi-lingual
|
||||
|
||||
|
||||
**Shipped version:** 3.12.3~ynh1
|
||||
**Shipped version:** 4.0.0~ynh1
|
||||
|
||||
**Demo:** https://demo.directorylister.com/
|
||||
**Demo:** <https://demo.directorylister.com/>
|
||||
|
||||
## Screenshots
|
||||
|
||||
|
@ -40,19 +40,19 @@ Directory Lister is the easiest way to expose the contents of any web-accessible
|
|||
|
||||
## Documentation and resources
|
||||
|
||||
* Official app website: <https://www.directorylister.com/>
|
||||
* Official admin documentation: <https://docs.directorylister.com/>
|
||||
* Upstream app code repository: <https://github.com/DirectoryLister/DirectoryLister>
|
||||
* YunoHost documentation for this app: <https://yunohost.org/app_directorylister>
|
||||
* Report a bug: <https://github.com/YunoHost-Apps/directorylister_ynh/issues>
|
||||
- Official app website: <https://www.directorylister.com/>
|
||||
- Official admin documentation: <https://docs.directorylister.com/>
|
||||
- Upstream app code repository: <https://github.com/DirectoryLister/DirectoryLister>
|
||||
- YunoHost Store: <https://apps.yunohost.org/app/directorylister>
|
||||
- Report a bug: <https://github.com/YunoHost-Apps/directorylister_ynh/issues>
|
||||
|
||||
## Developer info
|
||||
|
||||
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing).
|
||||
Please send your pull request to the [`testing` branch](https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing).
|
||||
|
||||
To try the testing branch, please proceed like that.
|
||||
To try the `testing` branch, please proceed like that:
|
||||
|
||||
``` bash
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing --debug
|
||||
or
|
||||
sudo yunohost app upgrade directorylister -u https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing --debug
|
||||
|
|
61
README_es.md
Normal file
61
README_es.md
Normal file
|
@ -0,0 +1,61 @@
|
|||
<!--
|
||||
Este archivo README esta generado automaticamente<https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
||||
No se debe editar a mano.
|
||||
-->
|
||||
|
||||
# Directory Lister para Yunohost
|
||||
|
||||
[![Nivel de integración](https://dash.yunohost.org/integration/directorylister.svg)](https://dash.yunohost.org/appci/app/directorylister) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/directorylister.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/directorylister.maintain.svg)
|
||||
|
||||
[![Instalar Directory Lister con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=directorylister)
|
||||
|
||||
*[Leer este README en otros idiomas.](./ALL_README.md)*
|
||||
|
||||
> *Este paquete le permite instalarDirectory Lister rapidamente y simplement en un servidor YunoHost.*
|
||||
> *Si no tiene YunoHost, visita [the guide](https://yunohost.org/install) para aprender como instalarla.*
|
||||
|
||||
## Descripción general
|
||||
|
||||
Directory Lister is the easiest way to expose the contents of any web-accessible folder for browsing and sharing. With a zero configuration, drag-and-drop installation you'll be up and running in less than a minute.
|
||||
|
||||
### Features
|
||||
|
||||
- Simple installation
|
||||
- Light and dark themes
|
||||
- Custom sort ordering
|
||||
- File search
|
||||
- File hashes
|
||||
- Readme rendering
|
||||
- Zip downloads
|
||||
- Multi-lingual
|
||||
|
||||
|
||||
**Versión actual:** 4.0.0~ynh1
|
||||
|
||||
**Demo:** <https://demo.directorylister.com/>
|
||||
|
||||
## Capturas
|
||||
|
||||
![Captura de Directory Lister](./doc/screenshots/Screenshot.png)
|
||||
|
||||
## Documentaciones y recursos
|
||||
|
||||
- Sitio web oficial: <https://www.directorylister.com/>
|
||||
- Documentación administrador oficial: <https://docs.directorylister.com/>
|
||||
- Repositorio del código fuente oficial de la aplicación : <https://github.com/DirectoryLister/DirectoryLister>
|
||||
- Catálogo YunoHost: <https://apps.yunohost.org/app/directorylister>
|
||||
- Reportar un error: <https://github.com/YunoHost-Apps/directorylister_ynh/issues>
|
||||
|
||||
## Información para desarrolladores
|
||||
|
||||
Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing
|
||||
|
||||
Para probar la rama `testing`, sigue asÍ:
|
||||
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing --debug
|
||||
o
|
||||
sudo yunohost app upgrade directorylister -u https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Mas informaciones sobre el empaquetado de aplicaciones:** <https://yunohost.org/packaging_apps>
|
61
README_eu.md
Normal file
61
README_eu.md
Normal file
|
@ -0,0 +1,61 @@
|
|||
<!--
|
||||
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
|
||||
EZ editatu eskuz.
|
||||
-->
|
||||
|
||||
# Directory Lister YunoHost-erako
|
||||
|
||||
[![Integrazio maila](https://dash.yunohost.org/integration/directorylister.svg)](https://dash.yunohost.org/appci/app/directorylister) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/directorylister.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/directorylister.maintain.svg)
|
||||
|
||||
[![Instalatu Directory Lister YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=directorylister)
|
||||
|
||||
*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)*
|
||||
|
||||
> *Pakete honek Directory Lister YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.*
|
||||
> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.*
|
||||
|
||||
## Aurreikuspena
|
||||
|
||||
Directory Lister is the easiest way to expose the contents of any web-accessible folder for browsing and sharing. With a zero configuration, drag-and-drop installation you'll be up and running in less than a minute.
|
||||
|
||||
### Features
|
||||
|
||||
- Simple installation
|
||||
- Light and dark themes
|
||||
- Custom sort ordering
|
||||
- File search
|
||||
- File hashes
|
||||
- Readme rendering
|
||||
- Zip downloads
|
||||
- Multi-lingual
|
||||
|
||||
|
||||
**Paketatutako bertsioa:** 4.0.0~ynh1
|
||||
|
||||
**Demoa:** <https://demo.directorylister.com/>
|
||||
|
||||
## Pantaila-argazkiak
|
||||
|
||||
![Directory Lister(r)en pantaila-argazkia](./doc/screenshots/Screenshot.png)
|
||||
|
||||
## Dokumentazioa eta baliabideak
|
||||
|
||||
- Aplikazioaren webgune ofiziala: <https://www.directorylister.com/>
|
||||
- Administratzaileen dokumentazio ofiziala: <https://docs.directorylister.com/>
|
||||
- Jatorrizko aplikazioaren kode-gordailua: <https://github.com/DirectoryLister/DirectoryLister>
|
||||
- YunoHost Denda: <https://apps.yunohost.org/app/directorylister>
|
||||
- Eman errore baten berri: <https://github.com/YunoHost-Apps/directorylister_ynh/issues>
|
||||
|
||||
## Garatzaileentzako informazioa
|
||||
|
||||
Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing).
|
||||
|
||||
`testing` abarra probatzeko, ondorengoa egin:
|
||||
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing --debug
|
||||
edo
|
||||
sudo yunohost app upgrade directorylister -u https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Informazio gehiago aplikazioaren paketatzeari buruz:** <https://yunohost.org/packaging_apps>
|
32
README_fr.md
32
README_fr.md
|
@ -1,6 +1,6 @@
|
|||
<!--
|
||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
|
||||
It shall NOT be edited by hand.
|
||||
Nota bene : ce README est automatiquement généré par <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
||||
Il NE doit PAS être modifié à la main.
|
||||
-->
|
||||
|
||||
# Directory Lister pour YunoHost
|
||||
|
@ -9,10 +9,10 @@ It shall NOT be edited by hand.
|
|||
|
||||
[![Installer Directory Lister avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=directorylister)
|
||||
|
||||
*[Read this readme in english.](./README.md)*
|
||||
*[Lire le README dans d'autres langues.](./ALL_README.md)*
|
||||
|
||||
> *Ce package vous permet d’installer Directory Lister rapidement et simplement sur un serveur YunoHost.
|
||||
Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.*
|
||||
> *Ce package vous permet d’installer Directory Lister rapidement et simplement sur un serveur YunoHost.*
|
||||
> *Si vous n’avez pas YunoHost, consultez [ce guide](https://yunohost.org/install) pour savoir comment l’installer et en profiter.*
|
||||
|
||||
## Vue d’ensemble
|
||||
|
||||
|
@ -29,9 +29,9 @@ Directory Lister est le moyen le plus simple d'exposer le contenu de n'importe q
|
|||
- Multilingue
|
||||
|
||||
|
||||
**Version incluse :** 3.12.3~ynh1
|
||||
**Version incluse :** 4.0.0~ynh1
|
||||
|
||||
**Démo :** https://demo.directorylister.com/
|
||||
**Démo :** <https://demo.directorylister.com/>
|
||||
|
||||
## Captures d’écran
|
||||
|
||||
|
@ -39,22 +39,22 @@ Directory Lister est le moyen le plus simple d'exposer le contenu de n'importe q
|
|||
|
||||
## Documentations et ressources
|
||||
|
||||
* Site officiel de l’app : <https://www.directorylister.com/>
|
||||
* Documentation officielle de l’admin : <https://docs.directorylister.com/>
|
||||
* Dépôt de code officiel de l’app : <https://github.com/DirectoryLister/DirectoryLister>
|
||||
* Documentation YunoHost pour cette app : <https://yunohost.org/app_directorylister>
|
||||
* Signaler un bug : <https://github.com/YunoHost-Apps/directorylister_ynh/issues>
|
||||
- Site officiel de l’app : <https://www.directorylister.com/>
|
||||
- Documentation officielle de l’admin : <https://docs.directorylister.com/>
|
||||
- Dépôt de code officiel de l’app : <https://github.com/DirectoryLister/DirectoryLister>
|
||||
- YunoHost Store : <https://apps.yunohost.org/app/directorylister>
|
||||
- Signaler un bug : <https://github.com/YunoHost-Apps/directorylister_ynh/issues>
|
||||
|
||||
## Informations pour les développeurs
|
||||
|
||||
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing).
|
||||
Merci de faire vos pull request sur la [branche `testing`](https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing).
|
||||
|
||||
Pour essayer la branche testing, procédez comme suit.
|
||||
Pour essayer la branche `testing`, procédez comme suit :
|
||||
|
||||
``` bash
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing --debug
|
||||
ou
|
||||
sudo yunohost app upgrade directorylister -u https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Plus d’infos sur le packaging d’applications :** <https://yunohost.org/packaging_apps>
|
||||
**Plus d’infos sur le packaging d’applications :** <https://yunohost.org/packaging_apps>
|
||||
|
|
61
README_gl.md
Normal file
61
README_gl.md
Normal file
|
@ -0,0 +1,61 @@
|
|||
<!--
|
||||
NOTA: Este README foi creado automáticamente por <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
||||
NON debe editarse manualmente.
|
||||
-->
|
||||
|
||||
# Directory Lister para YunoHost
|
||||
|
||||
[![Nivel de integración](https://dash.yunohost.org/integration/directorylister.svg)](https://dash.yunohost.org/appci/app/directorylister) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/directorylister.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/directorylister.maintain.svg)
|
||||
|
||||
[![Instalar Directory Lister con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=directorylister)
|
||||
|
||||
*[Le este README en outros idiomas.](./ALL_README.md)*
|
||||
|
||||
> *Este paquete permíteche instalar Directory Lister de xeito rápido e doado nun servidor YunoHost.*
|
||||
> *Se non usas YunoHost, le a [documentación](https://yunohost.org/install) para saber como instalalo.*
|
||||
|
||||
## Vista xeral
|
||||
|
||||
Directory Lister is the easiest way to expose the contents of any web-accessible folder for browsing and sharing. With a zero configuration, drag-and-drop installation you'll be up and running in less than a minute.
|
||||
|
||||
### Features
|
||||
|
||||
- Simple installation
|
||||
- Light and dark themes
|
||||
- Custom sort ordering
|
||||
- File search
|
||||
- File hashes
|
||||
- Readme rendering
|
||||
- Zip downloads
|
||||
- Multi-lingual
|
||||
|
||||
|
||||
**Versión proporcionada:** 4.0.0~ynh1
|
||||
|
||||
**Demo:** <https://demo.directorylister.com/>
|
||||
|
||||
## Capturas de pantalla
|
||||
|
||||
![Captura de pantalla de Directory Lister](./doc/screenshots/Screenshot.png)
|
||||
|
||||
## Documentación e recursos
|
||||
|
||||
- Web oficial da app: <https://www.directorylister.com/>
|
||||
- Documentación oficial para admin: <https://docs.directorylister.com/>
|
||||
- Repositorio de orixe do código: <https://github.com/DirectoryLister/DirectoryLister>
|
||||
- Tenda YunoHost: <https://apps.yunohost.org/app/directorylister>
|
||||
- Informar dun problema: <https://github.com/YunoHost-Apps/directorylister_ynh/issues>
|
||||
|
||||
## Info de desenvolvemento
|
||||
|
||||
Envía a túa colaboración á [rama `testing`](https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing).
|
||||
|
||||
Para probar a rama `testing`, procede deste xeito:
|
||||
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing --debug
|
||||
ou
|
||||
sudo yunohost app upgrade directorylister -u https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Máis info sobre o empaquetado da app:** <https://yunohost.org/packaging_apps>
|
61
README_zh_Hans.md
Normal file
61
README_zh_Hans.md
Normal file
|
@ -0,0 +1,61 @@
|
|||
<!--
|
||||
注意:此 README 由 <https://github.com/YunoHost/apps/tree/master/tools/readme_generator> 自动生成
|
||||
请勿手动编辑。
|
||||
-->
|
||||
|
||||
# YunoHost 上的 Directory Lister
|
||||
|
||||
[![集成程度](https://dash.yunohost.org/integration/directorylister.svg)](https://dash.yunohost.org/appci/app/directorylister) ![工作状态](https://ci-apps.yunohost.org/ci/badges/directorylister.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/directorylister.maintain.svg)
|
||||
|
||||
[![使用 YunoHost 安装 Directory Lister](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=directorylister)
|
||||
|
||||
*[阅读此 README 的其它语言版本。](./ALL_README.md)*
|
||||
|
||||
> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Directory Lister。*
|
||||
> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。*
|
||||
|
||||
## 概况
|
||||
|
||||
Directory Lister is the easiest way to expose the contents of any web-accessible folder for browsing and sharing. With a zero configuration, drag-and-drop installation you'll be up and running in less than a minute.
|
||||
|
||||
### Features
|
||||
|
||||
- Simple installation
|
||||
- Light and dark themes
|
||||
- Custom sort ordering
|
||||
- File search
|
||||
- File hashes
|
||||
- Readme rendering
|
||||
- Zip downloads
|
||||
- Multi-lingual
|
||||
|
||||
|
||||
**分发版本:** 4.0.0~ynh1
|
||||
|
||||
**演示:** <https://demo.directorylister.com/>
|
||||
|
||||
## 截图
|
||||
|
||||
![Directory Lister 的截图](./doc/screenshots/Screenshot.png)
|
||||
|
||||
## 文档与资源
|
||||
|
||||
- 官方应用网站: <https://www.directorylister.com/>
|
||||
- 官方管理文档: <https://docs.directorylister.com/>
|
||||
- 上游应用代码库: <https://github.com/DirectoryLister/DirectoryLister>
|
||||
- YunoHost 商店: <https://apps.yunohost.org/app/directorylister>
|
||||
- 报告 bug: <https://github.com/YunoHost-Apps/directorylister_ynh/issues>
|
||||
|
||||
## 开发者信息
|
||||
|
||||
请向 [`testing` 分支](https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing) 发送拉取请求。
|
||||
|
||||
如要尝试 `testing` 分支,请这样操作:
|
||||
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing --debug
|
||||
或
|
||||
sudo yunohost app upgrade directorylister -u https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**有关应用打包的更多信息:** <https://yunohost.org/packaging_apps>
|
|
@ -5,7 +5,7 @@ name = "Directory Lister"
|
|||
description.en = "Expose the contents of any web-accessible folder for browsing and sharing"
|
||||
description.fr = "Exposez le contenu de n'importe quel dossier accessible sur le Web pour la navigation et le partage"
|
||||
|
||||
version = "3.12.3~ynh1"
|
||||
version = "4.0.0~ynh1"
|
||||
|
||||
maintainers = ["eric_G"]
|
||||
|
||||
|
@ -17,11 +17,14 @@ admindoc = "https://docs.directorylister.com/"
|
|||
code = "https://github.com/DirectoryLister/DirectoryLister"
|
||||
|
||||
[integration]
|
||||
yunohost = ">= 11.1.21"
|
||||
yunohost = ">= 11.2"
|
||||
architectures = "all"
|
||||
multi_instance = true
|
||||
|
||||
ldap = false
|
||||
|
||||
sso = false
|
||||
|
||||
disk = "50M"
|
||||
ram.build = "50M"
|
||||
ram.runtime = "50M"
|
||||
|
@ -51,8 +54,8 @@ ram.runtime = "50M"
|
|||
|
||||
[resources.sources.main]
|
||||
in_subdir = false
|
||||
url = "https://github.com/DirectoryLister/DirectoryLister/releases/download/3.12.3/DirectoryLister-3.12.3.tar.gz"
|
||||
sha256 = "bda6033c0e1d5a6b9deed094b3aefce7dd22f8aaece71a70474425793e288cad"
|
||||
url = "https://github.com/DirectoryLister/DirectoryLister/releases/download/4.0.0/DirectoryLister-4.0.0.tar.gz"
|
||||
sha256 = "535331654d51d822bc4cd83a81a9de6399badc21da9f039a1451bc9a6427f19a"
|
||||
autoupdate.strategy = "latest_github_tag"
|
||||
|
||||
[resources.system_user]
|
||||
|
|
|
@ -27,7 +27,7 @@ chown -R $app:www-data "$install_dir"
|
|||
ynh_script_progression --message="Adding system configurations related to $app..." --weight=1
|
||||
|
||||
# Create a dedicated PHP-FPM config using the conf/php-fpm.conf or conf/extra_php-fpm.conf
|
||||
ynh_add_fpm_config --usage=low --footprint=low
|
||||
ynh_add_fpm_config
|
||||
|
||||
# Create a dedicated NGINX config using the conf/nginx.conf template
|
||||
ynh_add_nginx_config
|
||||
|
@ -39,7 +39,7 @@ ynh_add_nginx_config
|
|||
#=================================================
|
||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||
|
||||
ynh_add_config --template="../conf/.env.example" --destination="$install_dir/.env"
|
||||
ynh_add_config --template=".env.example" --destination="$install_dir/.env"
|
||||
|
||||
chmod 400 "$install_dir/.env"
|
||||
chown $app:$app "$install_dir/.env"
|
||||
|
|
|
@ -9,21 +9,15 @@
|
|||
source _common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
upgrade_type=$(ynh_check_app_version_changed)
|
||||
|
||||
#=================================================
|
||||
# "REBUILD" THE APP (DEPLOY NEW SOURCES, RERUN NPM BUILD...)
|
||||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Upgrading source files..." --weight=1
|
||||
|
||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||
then
|
||||
ynh_script_progression --message="Upgrading source files..." --weight=1
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir" --keep=".env"
|
||||
fi
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir" --keep=".env"
|
||||
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
|
@ -32,7 +26,7 @@ chown -R $app:www-data "$install_dir"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1
|
||||
|
||||
ynh_add_fpm_config --usage=low --footprint=low
|
||||
ynh_add_fpm_config
|
||||
|
||||
ynh_add_nginx_config
|
||||
|
||||
|
@ -43,10 +37,10 @@ ynh_add_nginx_config
|
|||
#=================================================
|
||||
#ynh_script_progression --message="Updating a configuration file..." --weight=1
|
||||
|
||||
#ynh_add_config --template="some_config_file" --destination="$install_dir/some_config_file"
|
||||
#ynh_add_config --template=".env.example" --destination="$install_dir/.env"
|
||||
|
||||
#chmod 400 "$install_dir/some_config_file"
|
||||
#chown $app:$app "$install_dir/some_config_file"
|
||||
#chmod 400 "$install_dir/.env"
|
||||
#chown $app:$app "$install_dir/.env"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
Loading…
Reference in a new issue