How can I create an Admin account manually ?
-
Hello,
I've just one question : How can I create an admin account manually ?
I'm packaging NodeBB for Yunohost, so I'm creating a script to install this. I've a problem because I set up the Databases in the config.json file but I don't know how to fill in it to create my admin account.It's the only thing I need to finish my install script.
Can you help me please ?
Thanks,
frju365PS: My work : https://github.com/YunoHost-Apps/nodebb_ynh
The install script : https://github.com/YunoHost-Apps/nodebb_ynh/blob/master/scripts/install -
@frju365 you can pass in the admin username and password to the NodeBB setup script. You can refer to this for an example
Copyright © 2024 NodeBB | Contributors