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 #37 from YunoHost-Apps/testing

Update manifest.json
This commit is contained in:
Éric Gaspar 2022-06-11 09:45:30 +02:00 committed by GitHub
commit 35b3c8b8e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 6 deletions

View file

@ -18,7 +18,7 @@ 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.
Building on this high performance platform means fast and dependable performance that will support even the biggest and most active community.
**Shipped version:** 2.1.0~ynh1
**Shipped version:** 2.1.1~ynh1
**Demo:** https://try.nodebb.org

View file

@ -18,7 +18,7 @@ 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.
Building on this high performance platform means fast and dependable performance that will support even the biggest and most active community.
**Version incluse :** 2.1.0~ynh1
**Version incluse :** 2.1.1~ynh1
**Démo :** https://try.nodebb.org

View file

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

View file

@ -13,6 +13,10 @@ source /usr/share/yunohost/helpers
# MANAGE SCRIPT FAILURE
#=================================================
ynh_clean_setup () {
### Remove this function if there's nothing to clean before calling the remove script.
true
}
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors
@ -118,7 +122,7 @@ ynh_add_nginx_config
#=================================================
# CONFIGURE NODEBB
#=================================================
ynh_script_progression --message="Configuring the $app..." --weight=2
ynh_script_progression --message="Configuring the app..." --weight=2
ynh_add_config --template="../conf/config.json" --destination="$final_path/config.json"
@ -131,7 +135,7 @@ setup="{
pushd $final_path
ynh_use_nodejs
npm install -g npm@8.9.0
npm install npm@latest --location=global
ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install lodash --save
ynh_exec_as $app env $ynh_node_load_PATH $final_path/nodebb setup "${setup}" 2>/dev/null
popd
@ -144,7 +148,6 @@ chown $app:$app "$final_path/config.json"
#=================================================
ynh_script_progression --message="Configuring a systemd service..." --weight=1
env_path=$PATH
# Create a dedicated systemd config
ynh_add_systemd_config