mirror of
https://github.com/YunoHost-Apps/nodebb_ynh.git
synced 2024-09-03 19:46:29 +02:00
Update install
This commit is contained in:
parent
0922fe0868
commit
4af61a93e4
1 changed files with 8 additions and 7 deletions
|
@ -123,19 +123,20 @@ chown -R $app:www-data "$final_path"
|
|||
#=================================================
|
||||
# CONFIGURE NODEBB
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring the $app..." --weight=2
|
||||
|
||||
setup="{
|
||||
\"url\": \"https://${domain}${path_url}\",
|
||||
\"admin:username\": \"${admin}\",
|
||||
\"admin:password\": \"${password}\",
|
||||
\"admin:password:confirm\": \"${password}\",
|
||||
\"admin:email\": \"admin@${domain}\",
|
||||
\"admin:username\": \"$admin\",
|
||||
\"admin:password\": \"$password\",
|
||||
\"admin:password:confirm\": \"$password\",
|
||||
\"admin:email\": \"admin@$domain\",
|
||||
\"database\": \"postgres\",
|
||||
\"postgres:host\": \"localhost\",
|
||||
\"postgres:port\": \"5432\",
|
||||
\"postgres:username\": \"${db_name}\",
|
||||
\"postgres:password\": \"${db_pwd}\",
|
||||
\"postgres:database\": \"${db_name}\"
|
||||
\"postgres:username\": \"$db_name\",
|
||||
\"postgres:password\": \"$db_pwd\",
|
||||
\"postgres:database\": \"$db_name\"
|
||||
}"
|
||||
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $final_path/nodebb setup "${setup}"
|
||||
|
|
Loading…
Reference in a new issue