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 #1 from YunoHost-Apps/develop

[Fix] Perhaps the creation of the user.
This commit is contained in:
frju365 2017-04-22 01:42:07 +02:00 committed by GitHub
commit d94a16ecd4
2 changed files with 10 additions and 1 deletions

View file

@ -8,5 +8,11 @@
"username": "dbuser",
"password": "dbpass",
"database": "dbname"
}
},
"admin": {
"email": "admin_email",
"username": "admin_name",
"password": "admin_pass",
"password:confirm": "admin_pass"
}
}

View file

@ -160,6 +160,9 @@ sudo sed -i "s@__SECRET__@$secret@g" $final_path/config.json
sudo sed -i "s@dbuser@$dbuser@g" $final_path/config.json
sudo sed -i "s@dbname@$dbname@g" $final_path/config.json
sudo sed -i "s@dbpass@$dbpass@g" $final_path/config.json
sudo sed -i "s@admin_email@$admin_email@g" $final_path/config.json
sudo sed -i "s@admin_name@$admin_name@g" $final_path/config.json
sudo sed -i "s@admin_pass@$admin_pass@g" $final_path/config.json
#=================================================
# CONFIGURE NODEBB