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

Merge pull request #13 from YunoHost-Apps/testing

Testing
This commit is contained in:
eric_G 2024-05-17 18:35:16 +02:00 committed by GitHub
commit 55c9f3e82e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 153 additions and 22 deletions

View file

@ -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)

View file

@ -9,7 +9,7 @@ It shall NOT be edited by hand.
[![Install Digisteps with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=digisteps)
*[Read this README is other languages.](./ALL_README.md)*
*[Read this README in other languages.](./ALL_README.md)*
> *This package allows you to install Digisteps 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.*
@ -18,7 +18,7 @@ It shall NOT be edited by hand.
Create simple online educational pathes
**Shipped version:** 0.5.16~ynh1
**Shipped version:** 0.5.16~ynh2
**Demo:** <https://ladigitale.dev/digisteps/#/>
## Documentation and resources

45
README_es.md Normal file
View file

@ -0,0 +1,45 @@
<!--
Este archivo README esta generado automaticamente<https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
No se debe editar a mano.
-->
# Digisteps para Yunohost
[![Nivel de integración](https://dash.yunohost.org/integration/digisteps.svg)](https://dash.yunohost.org/appci/app/digisteps) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/digisteps.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/digisteps.maintain.svg)
[![Instalar Digisteps con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=digisteps)
*[Leer este README en otros idiomas.](./ALL_README.md)*
> *Este paquete le permite instalarDigisteps 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
Create simple online educational pathes
**Versión actual:** 0.5.16~ynh2
**Demo:** <https://ladigitale.dev/digisteps/#/>
## Documentaciones y recursos
- Sitio web oficial: <https://ladigitale.dev/>
- Documentación usuario oficial: <https://ladigitale.dev/blog/digisteps-pour-creer-des-parcours-pedagogiques-en-ligne>
- Documentación administrador oficial: <https://codeberg.org/ladigitale/digisteps/src/branch/master/README.md>
- Repositorio del código fuente oficial de la aplicación : <https://codeberg.org/ladigitale/digisteps>
- Catálogo YunoHost: <https://apps.yunohost.org/app/digisteps>
- Reportar un error: <https://github.com/YunoHost-Apps/digisteps_ynh/issues>
## Información para desarrolladores
Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/digisteps_ynh/tree/testing
Para probar la rama `testing`, sigue asÍ:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/digisteps_ynh/tree/testing --debug
o
sudo yunohost app upgrade digisteps -u https://github.com/YunoHost-Apps/digisteps_ynh/tree/testing --debug
```
**Mas informaciones sobre el empaquetado de aplicaciones:** <https://yunohost.org/packaging_apps>

45
README_eu.md Normal file
View file

@ -0,0 +1,45 @@
<!--
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
EZ editatu eskuz.
-->
# Digisteps YunoHost-erako
[![Integrazio maila](https://dash.yunohost.org/integration/digisteps.svg)](https://dash.yunohost.org/appci/app/digisteps) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/digisteps.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/digisteps.maintain.svg)
[![Instalatu Digisteps YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=digisteps)
*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)*
> *Pakete honek Digisteps YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.*
> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.*
## Aurreikuspena
Create simple online educational pathes
**Paketatutako bertsioa:** 0.5.16~ynh2
**Demoa:** <https://ladigitale.dev/digisteps/#/>
## Dokumentazioa eta baliabideak
- Aplikazioaren webgune ofiziala: <https://ladigitale.dev/>
- Erabiltzaileen dokumentazio ofiziala: <https://ladigitale.dev/blog/digisteps-pour-creer-des-parcours-pedagogiques-en-ligne>
- Administratzaileen dokumentazio ofiziala: <https://codeberg.org/ladigitale/digisteps/src/branch/master/README.md>
- Jatorrizko aplikazioaren kode-gordailua: <https://codeberg.org/ladigitale/digisteps>
- YunoHost Denda: <https://apps.yunohost.org/app/digisteps>
- Eman errore baten berri: <https://github.com/YunoHost-Apps/digisteps_ynh/issues>
## Garatzaileentzako informazioa
Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/digisteps_ynh/tree/testing).
`testing` abarra probatzeko, ondorengoa egin:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/digisteps_ynh/tree/testing --debug
edo
sudo yunohost app upgrade digisteps -u https://github.com/YunoHost-Apps/digisteps_ynh/tree/testing --debug
```
**Informazio gehiago aplikazioaren paketatzeari buruz:** <https://yunohost.org/packaging_apps>

View file

@ -18,7 +18,7 @@ Il NE doit PAS être modifié à la main.
Create simple online educational pathes
**Version incluse:** 0.5.16~ynh1
**Version incluse:** 0.5.16~ynh2
**Démo:** <https://ladigitale.dev/digisteps/#/>
## Documentations et ressources

View file

@ -18,7 +18,7 @@ NON debe editarse manualmente.
Create simple online educational pathes
**Versión proporcionada:** 0.5.16~ynh1
**Versión proporcionada:** 0.5.16~ynh2
**Demo:** <https://ladigitale.dev/digisteps/#/>
## Documentación e recursos

45
README_zh_Hans.md Normal file
View file

@ -0,0 +1,45 @@
<!--
注意:此 README 由 <https://github.com/YunoHost/apps/tree/master/tools/readme_generator> 自动生成
请勿手动编辑。
-->
# YunoHost 上的 Digisteps
[![集成程度](https://dash.yunohost.org/integration/digisteps.svg)](https://dash.yunohost.org/appci/app/digisteps) ![工作状态](https://ci-apps.yunohost.org/ci/badges/digisteps.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/digisteps.maintain.svg)
[![使用 YunoHost 安装 Digisteps](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=digisteps)
*[阅读此 README 的其它语言版本。](./ALL_README.md)*
> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Digisteps。*
> *如果您还没有 YunoHost请参阅[指南](https://yunohost.org/install)了解如何安装它。*
## 概况
Create simple online educational pathes
**分发版本:** 0.5.16~ynh2
**演示:** <https://ladigitale.dev/digisteps/#/>
## 文档与资源
- 官方应用网站: <https://ladigitale.dev/>
- 官方用户文档: <https://ladigitale.dev/blog/digisteps-pour-creer-des-parcours-pedagogiques-en-ligne>
- 官方管理文档: <https://codeberg.org/ladigitale/digisteps/src/branch/master/README.md>
- 上游应用代码库: <https://codeberg.org/ladigitale/digisteps>
- YunoHost 商店: <https://apps.yunohost.org/app/digisteps>
- 报告 bug <https://github.com/YunoHost-Apps/digisteps_ynh/issues>
## 开发者信息
请向 [`testing` 分支](https://github.com/YunoHost-Apps/digisteps_ynh/tree/testing) 发送拉取请求。
如要尝试 `testing` 分支,请这样操作:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/digisteps_ynh/tree/testing --debug
sudo yunohost app upgrade digisteps -u https://github.com/YunoHost-Apps/digisteps_ynh/tree/testing --debug
```
**有关应用打包的更多信息:** <https://yunohost.org/packaging_apps>

View file

@ -2,7 +2,7 @@
location __PATH__/ {
# Path to source
alias __INSTALL_DIR__/;
alias __INSTALL_DIR__/dist/;
#index index.php;

View file

@ -5,7 +5,7 @@ name = "Digisteps"
description.en = "Create simple online educational pathes"
description.fr = "Créer des parcours pédagogiques simples en ligne"
version = "0.5.16~ynh1"
version = "0.5.16~ynh2"
maintainers = ["Pierre-Amiel Giraud"]

View file

@ -22,7 +22,7 @@ ynh_print_info --message="Declaring files to be backed up..."
ynh_backup --src_path="$install_dir"
#=================================================
# BACKUP THE NGINX CONFIGURATION
# SYSTEM CONFIGURATION
#=================================================
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"

View file

@ -20,9 +20,9 @@ chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
#=================================================
# NGINX CONFIGURATION
# APP INITIAL CONFIGURATION
#=================================================
ynh_script_progression --message="Configuring NGINX web server..." --weight=1
ynh_script_progression --message="Adding $app's configuration files..." --weight=1
ynh_add_nginx_config

View file

@ -10,9 +10,9 @@ source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# REMOVE NGINX CONFIGURATION
# REMOVE SYSTEM CONFIGURATIONS
#=================================================
ynh_script_progression --message="Removing NGINX web server configuration..." --weight=1
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
ynh_remove_nginx_config

View file

@ -20,9 +20,9 @@ chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
#=================================================
# RESTORE THE PHP-FPM CONFIGURATION
# RESTORE SYSTEM CONFIGURATIONS
#=================================================
ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weight=1
ynh_script_progression --message="Restoring system configurations related to $app..." --weight=1
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"

View file

@ -9,12 +9,6 @@
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# CHECK VERSION
#=================================================
upgrade_type=$(ynh_check_app_version_changed)
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
@ -26,9 +20,9 @@ chmod -R o-rwx "$install_dir"
chown -R "$app:www-data" "$install_dir"
#=================================================
# NGINX CONFIGURATION
# REAPPLY SYSTEM CONFIGURATIONS
#=================================================
ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=1
ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1
ynh_add_nginx_config