...
Run the discussion middleware using the command npm run start
. Discussion-middleware will run on port 3002.
Discussion-UI setup along with demo application.
Step:1
Clone the discussion-ui repo from https://github.com/Sunbird-Ed/discussions-UI.git.
Step:2
Execute npm install
command.
Step:3
Change the host
in urlconfig.json
file. Add below url.
Code Block |
---|
host: 'http://localhost:3002' |
Step:4
Build the discussion-ui library using npm run build-lib
. 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 npm run demo
. This is a simple angular application which is used to test df-library in local.
Info |
---|
Note: Demo application will run on port 4200. |