i've resolved this by adding this code to my custom sso login plugin (https://community.nodebb.org/topic/3322/jsconnect-sso)User.setSetting(uid, 'dailyDigestFreq', 'week', null); User.setSetting(uid, 'notificationSounds', 1, null); User.setSetting(uid, 'followTopicsOnCreate', 1, null); User.setSetting(uid, 'followTopicsOnReply', 1, null); User.setSetting(uid, 'sendChatNotifications', 1, null);
I looked for tutorials, but couldn't really find any related to my question(s).
Basically, I installed NodeBB locally, per the Ubuntu guide: https://docs.nodebb.org/installing/os/ubuntu/
But now I'm sort of lost. How do I get a theme(and how do I configure this with the back-end)? I was going to build the front-end in React as a project, but I'm not exactly sure how to even get this started(I'm pretty new to full-stack).
When I run
./nodebb start, it doesn't do anything.
./nodebb log, afterwards and I see some actions in the terminal.
So I guess my question is: how do I get a front-end up and running, interacting with the NodeBB software? Are there tutorials on this?
I apologize in advance for so many questions. If you can guide me to the proper tutorials, I'd greatly appreciate that; or if you're up for it, I'd most certainly appreciate your words as well.
./nodebb start will start the server, take a look at http://127.0.0.1:4567
NodeBB is a forum software. It includes a backend and a frontend which work together. When you run
./nodebb start, it begins a daemon which runs in the background and serves everything.
But, I'm not using either apache or nginx, I didn't know I had to set those up(?). So far I configured MongoDB with admin and nodebb users. Basically, I completed the tutorial that I mentioned above... or so I thought I did.
That's cool, I didn't know it came with a front-end. Lol.
Overall, I think I need to learn more. I might have messed something up during the installation.
Wow, I got it!
All I had to do was run
./nodebb buildbefore starting! I've been messing with this for days; this is the most gratifying feeling in the world. Haha. Thank you everyone for your replies.
Yes, ./nodebb build needs to be run now and then to rebuild the files
And that is in all of the instructions that I have read.