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

Testing - smol fix (#187)

* Update manifest.toml: explicit dependency to redis-server

* cleaning

* Auto-update READMEs

---------

Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
This commit is contained in:
Salamandar 2024-08-05 18:42:33 +02:00 committed by GitHub
parent d8e6413c9b
commit 6908ef7410
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 14 additions and 21 deletions

View file

@ -25,7 +25,7 @@ It shall NOT be edited by hand.
To learn more about the philosophy and goals of the project, [visit **discourse.org**](http://www.discourse.org).
**Shipped version:** 2.8.14~ynh4
**Shipped version:** 2.8.14~ynh5
**Demo:** <https://try.discourse.org>

View file

@ -25,7 +25,7 @@ No se debe editar a mano.
To learn more about the philosophy and goals of the project, [visit **discourse.org**](http://www.discourse.org).
**Versión actual:** 2.8.14~ynh4
**Versión actual:** 2.8.14~ynh5
**Demo:** <https://try.discourse.org>

View file

@ -25,7 +25,7 @@ EZ editatu eskuz.
To learn more about the philosophy and goals of the project, [visit **discourse.org**](http://www.discourse.org).
**Paketatutako bertsioa:** 2.8.14~ynh4
**Paketatutako bertsioa:** 2.8.14~ynh5
**Demoa:** <https://try.discourse.org>

View file

@ -25,7 +25,7 @@ Il NE doit PAS être modifié à la main.
Pour en savoir plus sur la philosophie et les objectifs du projet, [visitez **discourse.org**](http://www.discourse.org).
**Version incluse:** 2.8.14~ynh4
**Version incluse:** 2.8.14~ynh5
**Démo:** <https://try.discourse.org>

View file

@ -25,7 +25,7 @@ NON debe editarse manualmente.
To learn more about the philosophy and goals of the project, [visit **discourse.org**](http://www.discourse.org).
**Versión proporcionada:** 2.8.14~ynh4
**Versión proporcionada:** 2.8.14~ynh5
**Demo:** <https://try.discourse.org>

View file

@ -25,7 +25,7 @@ Ini TIDAK boleh diedit dengan tangan.
To learn more about the philosophy and goals of the project, [visit **discourse.org**](http://www.discourse.org).
**Versi terkirim:** 2.8.14~ynh4
**Versi terkirim:** 2.8.14~ynh5
**Demo:** <https://try.discourse.org>
@ -36,7 +36,7 @@ To learn more about the philosophy and goals of the project, [visit **discourse.
## Dokumentasi dan sumber daya
- Website aplikasi resmi: <http://Discourse.org>
- Repositori kode aplikasi hulu: <https://github.com/discourse/discourse>
- Depot kode aplikasi hulu: <https://github.com/discourse/discourse>
- Gudang YunoHost: <https://apps.yunohost.org/app/discourse>
- Laporkan bug: <https://github.com/YunoHost-Apps/discourse_ynh/issues>

View file

@ -25,7 +25,7 @@
To learn more about the philosophy and goals of the project, [visit **discourse.org**](http://www.discourse.org).
**分发版本:** 2.8.14~ynh4
**分发版本:** 2.8.14~ynh5
**演示:** <https://try.discourse.org>

View file

@ -7,7 +7,7 @@ name = "Discourse"
description.en = "Discussion platform"
description.fr = "Plateforme de discussion"
version = "2.8.14~ynh4"
version = "2.8.14~ynh5"
maintainers = ["JimboJoe"]
@ -19,7 +19,7 @@ code = "https://github.com/discourse/discourse"
cpe = "cpe:2.3:a:discourse:discourse"
[integration]
yunohost = ">=11.2.12"
yunohost = ">=11.2.20"
architectures = "all"
multi_instance = true
ldap = true
@ -93,6 +93,7 @@ ram.runtime = "1G"
"pngcrush",
"pngquant",
"vim",
"redis-server",
"zlib1g-dev",
"postgresql",

View file

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

View file

@ -41,10 +41,12 @@ ynh_app_setting_set --app="$app" --key=unicorn_workers --value=$unicorn_workers
# INSTALL DEPENDENCIES
#=================================================
ynh_script_progression --message="Installing Ruby..."
ynh_exec_warn_less ynh_install_ruby --ruby_version="$ruby_version"
ynh_use_ruby
ynh_script_progression --message="Installing NodeJS..."
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
#=================================================

View file

@ -26,20 +26,10 @@ ynh_remove_logrotate
# Remove the dedicated NGINX config
ynh_remove_nginx_config
#=================================================
# REMOVE THE REDIS DATABASE
#=================================================
ynh_script_progression --message="Removing the redis database..."
ynh_redis_remove_db "$redis_db"
#=================================================
# REMOVE DEPENDENCIES
#=================================================
ynh_script_progression --message="Removing NodeJS..."
ynh_remove_nodejs
ynh_script_progression --message="Removing Ruby..."
ynh_remove_ruby
#=================================================