nodebb forum
How do I reset the admin password?
The ./nodebb can be used to reset any users password. All you need to know is the user id. To set a new password, you can use the following command:
./nodebb user reset <uid> --password <new-password>//The admin user id in a default installation is 1
安装插件如email
https://domain.com/admin/extend/plugins#download配置smtp:管理员登陆后settings--> emailSMTP Transport勾选 Enable SMTP Transport然后填入SMTP 认证信息
常见配置
将根目录 ./config.json 里面的url由http://localhost:4567设置为真实的网址,如https://forum.bearbattery.com这样邮件链接里面就会用真实的网址,而不是localhost