1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodebb_ynh.git synced 2024-09-03 19:46:29 +02:00
This commit is contained in:
ericgaspar 2021-05-30 09:27:25 +02:00
parent 63d2733c77
commit 2641ace190
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 2 additions and 3 deletions

View file

@ -6,7 +6,6 @@
language="fr" language="fr"
is_public=1 is_public=1
password="pass" password="pass"
port="666"
; Checks ; Checks
pkg_linter=1 pkg_linter=1
setup_sub_dir=1 setup_sub_dir=1

View file

@ -138,6 +138,8 @@ ynh_add_systemd_config --others_var="ynh_node_load_PATH"
#================================================= #=================================================
ynh_add_config --template="../conf/config.json" --destination="$final_path/config.json" ynh_add_config --template="../conf/config.json" --destination="$final_path/config.json"
chmod 400 "$final_path/config.json"
chown $app "$final_path/config.json"
#================================================= #=================================================
# CONFIGURE NODEBB # CONFIGURE NODEBB
@ -148,9 +150,7 @@ chown -R $app:$app $final_path
pushd $final_path pushd $final_path
#ynh_exec_as $app env $ynh_node_load_PATH #ynh_exec_as $app env $ynh_node_load_PATH
./nodebb setup #-l > $install_log ./nodebb setup #-l > $install_log
#ynh_exec_as $app env $ynh_node_load_PATH
#npm install nodebb-plugin-dbsearch --save-prod #npm install nodebb-plugin-dbsearch --save-prod
#ynh_exec_as $app env $ynh_node_load_PATH
#./nodebb build -l #./nodebb build -l
#ynh_exec_as $app ./nodebb setup -l > $install_log #ynh_exec_as $app ./nodebb setup -l > $install_log
#ynh_exec_as $app npm install nodebb-plugin-dbsearch --save-prod #ynh_exec_as $app npm install nodebb-plugin-dbsearch --save-prod