Discussion-UI setup along with demo application.
Last updated
Last updated
Background:
Discussion-UI library is an angular base library that will help any platform to configure and use a discussion forum.
In the Sunbird use case, any of the learning sections can have a discussion forum attached to it like Courses, Groups, etc. This is being achieved by this library.
Prerequisite:
Nodebb Local setup
Discussion Middleware Local setup
Step:1
Clone the discussion-ui repo from https://github.com/Sunbird-Ed/discussions-UI.git.
Step:2
Install dependencies.
Step:3
Change the configuration of library/application to communicate with local NodeBB & Discussion-middleware Note: Make sure Local discussion-middeware & NodeBB is running.
the host
in urlconfig.json
file. Add below url.
Step:4
Build the discussion-ui library using.
This will generate a dist file along with assets. For every change in discussion-ui library you have to run build command.
Step:5
Run the demo application using the command.
This is a simple angular application which is used to test df-library in local.
Note: Demo application will run on port 4200.
\