mirror of
https://github.com/YunoHost-Apps/digisteps_ynh.git
synced 2024-09-03 18:26:21 +02:00
commit
7b7b58eb6a
13 changed files with 17 additions and 23 deletions
|
@ -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
|
||||
|
|
|
@ -18,7 +18,7 @@ No se debe editar a mano.
|
|||
|
||||
Create simple online educational pathes
|
||||
|
||||
**Versión actual:** 0.5.16~ynh1
|
||||
**Versión actual:** 0.5.16~ynh2
|
||||
|
||||
**Demo:** <https://ladigitale.dev/digisteps/#/>
|
||||
## Documentaciones y recursos
|
||||
|
|
|
@ -18,7 +18,7 @@ EZ editatu eskuz.
|
|||
|
||||
Create simple online educational pathes
|
||||
|
||||
**Paketatutako bertsioa:** 0.5.16~ynh1
|
||||
**Paketatutako bertsioa:** 0.5.16~ynh2
|
||||
|
||||
**Demoa:** <https://ladigitale.dev/digisteps/#/>
|
||||
## Dokumentazioa eta baliabideak
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
Create simple online educational pathes
|
||||
|
||||
**分发版本:** 0.5.16~ynh1
|
||||
**分发版本:** 0.5.16~ynh2
|
||||
|
||||
**演示:** <https://ladigitale.dev/digisteps/#/>
|
||||
## 文档与资源
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
location __PATH__/ {
|
||||
|
||||
# Path to source
|
||||
alias __INSTALL_DIR__/;
|
||||
alias __INSTALL_DIR__/dist/;
|
||||
|
||||
#index index.php;
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue