1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodebb_ynh.git synced 2024-09-03 19:46:29 +02:00

Merge pull request #23 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2021-09-25 14:23:12 +02:00 committed by GitHub
commit 9e62d1d80a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 18 additions and 19 deletions

View file

@ -18,13 +18,13 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
NodeBB is built using the Node.js server-side Javascript platform, delivering unmatched performance. NodeBB is built using the Node.js server-side Javascript platform, delivering unmatched performance.
Building on this high performance platform means fast and dependable performance that will support even the biggest and most active community. Building on this high performance platform means fast and dependable performance that will support even the biggest and most active community.
**Shipped version:** 1.18.3~ynh1 **Shipped version:** 1.18.3~ynh2
**Demo:** https://try.nodebb.org **Demo:** https://try.nodebb.org
## Screenshots ## Screenshots
![](./doc/screenshots/Ud1LrfI.png) ![](./doc/screenshots/screenshot.png)
## Disclaimers / important information ## Disclaimers / important information

View file

@ -14,13 +14,13 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
NodeBB is built using the Node.js server-side Javascript platform, delivering unmatched performance. NodeBB is built using the Node.js server-side Javascript platform, delivering unmatched performance.
Building on this high performance platform means fast and dependable performance that will support even the biggest and most active community. Building on this high performance platform means fast and dependable performance that will support even the biggest and most active community.
**Version incluse :** 1.18.3~ynh1 **Version incluse :** 1.18.3~ynh2
**Démo :** https://try.nodebb.org **Démo :** https://try.nodebb.org
## Captures d'écran ## Captures d'écran
![](./doc/screenshots/Ud1LrfI.png) ![](./doc/screenshots/screenshot.png)
## Avertissements / informations importantes ## Avertissements / informations importantes

View file

@ -18,4 +18,7 @@ location __PATH__/ {
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 181 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 KiB

View file

@ -6,7 +6,7 @@
"en": "Forum software built for the modern web", "en": "Forum software built for the modern web",
"fr": "Logiciel de forum conçu pour le Web moderne" "fr": "Logiciel de forum conçu pour le Web moderne"
}, },
"version": "1.18.3~ynh1", "version": "1.18.3~ynh2",
"url": "https://nodebb.org", "url": "https://nodebb.org",
"upstream": { "upstream": {
"license": "GPL-3.0", "license": "GPL-3.0",

View file

@ -91,20 +91,6 @@ ynh_app_setting_set --app=$app --key=db_name --value=$db_name
ynh_psql_test_if_first_run ynh_psql_test_if_first_run
ynh_psql_setup_db --db_user=$db_name --db_name=$db_name ynh_psql_setup_db --db_user=$db_name --db_name=$db_name
#=================================================
# SPECIFIC SETUP
#=================================================
# HANDLE LOG FILES AND LOGROTATE
#=================================================
# Créer le dossier de log
mkdir -p /var/log/$app
touch /var/log/$app/$app.log
chown $app -R /var/log/$app
# Configuration de logrotate
ynh_use_logrotate
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE
#================================================= #=================================================
@ -157,6 +143,16 @@ ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --targ
ynh_add_systemd_config ynh_add_systemd_config
#=================================================
# SPECIFIC SETUP
#=================================================
# SETUP LOGROTATE
#=================================================
ynh_script_progression --message="Configuring log rotation..." --weight=1
# Configuration de logrotate
ynh_use_logrotate
#================================================= #=================================================
# INTEGRATE SERVICE IN YUNOHOST # INTEGRATE SERVICE IN YUNOHOST
#================================================= #=================================================