Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To make discussion within a context and every logged in user can be participated.

Architecture Diagram

...

Hierarchy of discussions

The below diagram explains the category & topics created for a Course & Batch. The same can be used for any other types like Group, Quiz, etc.

...

Angular

8 or above

Nodejs

14 or above

Nodebb

v1.18.6

Redis

6.2.5

Info

Note: Install above things in your system.

Nodebb

NodeBB is an open source project which can be forked on GitHub (Link). It have plugin support. We can create new plugins for our requirement and link to nodebb.

How to setup nodebb in local environment

Info

Note: Before staring nodebb setup in local. check redis is up and running. If not start redis first and do the setup.

Step:1

Clone the nodebb repo

Code Block
git clone -b v1.18.x https://github.com/NodeBB/NodeBB.git nodebb

Step:2

Navigate to nodebb folder and do setup of nodebb using below command

Code Block
./nodebb setup

While running the setup, nodebb will ask below question for initial setup.

Code Block
>> URL used to access this NodeBB (http://localhost:4567) : Press Enter 
>> Please enter a NodeBB secret (44abfc50-3d6a-4e6c-a258-9f551f9faa5a) : Press Enter 
>> Would you like to submit anonymous plugin usage to nbbpm? (yes) : Press Enter 
>> Which database to use (mongo) : redis

Now configuring redis database:
>> Host IP or address of your Redis instance (127.0.0.1) : Press Enter 
>> Host port of your Redis instance (6379) : Press Enter 
>> Password of your Redis database : Press Enter 
>> Which database to use (0..n) (0) : 3 (redis db number)

Admin User details
>> Administrator username : admin 
>> Administrator email address : admin@test.com
>> Password : Your password
>> Confirm Password : Your password

Step:3

Now start the nodebb, Using below command.

Code Block
./nodebb start

Step:4

Build the nodebb using the below command.

Code Block
./nodebb build

Step:5

Open the browser with fallowing link http://localhost:4567