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:
commit
d94a16ecd4
2 changed files with 10 additions and 1 deletions
|
@ -8,5 +8,11 @@
|
||||||
"username": "dbuser",
|
"username": "dbuser",
|
||||||
"password": "dbpass",
|
"password": "dbpass",
|
||||||
"database": "dbname"
|
"database": "dbname"
|
||||||
}
|
},
|
||||||
|
"admin": {
|
||||||
|
"email": "admin_email",
|
||||||
|
"username": "admin_name",
|
||||||
|
"password": "admin_pass",
|
||||||
|
"password:confirm": "admin_pass"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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@dbuser@$dbuser@g" $final_path/config.json
|
||||||
sudo sed -i "s@dbname@$dbname@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@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
|
# CONFIGURE NODEBB
|
||||||
|
|
Loading…
Reference in a new issue