How to install NodeBB on windows local
-
also, have a look here and see if this helps:
http://try.nodebb.org/topic/151/anyone-install-with-success-on-a-shared-host
-
I want to install nodeBB. I've cloned the repository and when I type "node app.js --setup" says:
Error: Cannot find module 'nconf'
at Function.Module._resolveFilename (module.js:527:15)
at Function.Module._load (module.js:476:23)
at Module.require (module.js:568:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (C:\Users\catalin.marcu\NodeBB\app.js:28:13)
at Module._compile (module.js:624:30)
at Object.Module._extensions..js (module.js:635:10)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)
at Function.Module._load (module.js:500:3)
What can I do? -
thank you, @alexsir. It works but I have another error...
TypeError: Cannot read property 'node' of undefined
at Object.versionCheck (C:\Users\catalin.marcu\Downloads\NodeBB-master\NodeBB-master\src\prestart.js:71:26)
at Object.<anonymous> (C:\Users\catalin.marcu\Downloads\NodeBB-master\NodeBB-master\app.js:52:10)
at Module._compile (module.js:624:30)
at Object.Module._extensions..js (module.js:635:10)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)
at Function.Module._load (module.js:500:3)
at Function.Module.runMain (module.js:665:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3 -
@catalin use
./nodebb setup
, notnode app --setup
-
@catalin yes you can. You just have to create a category for each group, and change the permissions for those categories so only the respective group can access, read, and write in it.
-
@pitaj But can this be done automatically by an api / plugin?
I mean:
I want to put this forum on my website. On my website I will have users who will register / log in.
These users on my site, will be divided into groups.- When a user registers, can I automatically do a nodebb account for him?
- Are there any api or plug-ins where the newly created user is automatically assigned to a group in nodebb (the same group that the user belongs to in my website)?
Something like: Automatically create the groups (from my website) in nodebb, automatically create the categories (with the same name as groups) and automatically give permissions to a group for a category.
Thanks!
-
@catalin you can automatically create nodebb accounts for accounts on your website. Look up "nodebb plugin session sharing".
Automating the rest of that though would require a custom plugin.