mirror of
https://github.com/YunoHost-Apps/directorylister_ynh.git
synced 2024-09-03 18:26:02 +02:00
commit
2e9c69e5f5
10 changed files with 206 additions and 24 deletions
|
@ -1,6 +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)
|
||||
- [Leggi il “README” in italiano](README_it.md)
|
||||
- [阅读中文(简体)的 README](README_zh_Hans.md)
|
||||
|
|
|
@ -9,7 +9,7 @@ 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)
|
||||
|
||||
*[Read this README is other languages.](./ALL_README.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.*
|
||||
|
@ -30,7 +30,7 @@ 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/>
|
||||
|
||||
|
|
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>
|
|
@ -29,7 +29,7 @@ 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/>
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ Directory Lister is the easiest way to expose the contents of any web-accessible
|
|||
- Multi-lingual
|
||||
|
||||
|
||||
**Versión proporcionada:** 3.12.3~ynh1
|
||||
**Versión proporcionada:** 4.0.0~ynh1
|
||||
|
||||
**Demo:** <https://demo.directorylister.com/>
|
||||
|
||||
|
|
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