...
Refer this link also: Nodebb Plugins
Discussion Middleware Setup
Step:1
Clone the discussion middleware repo from https://github.com/Sunbird-Ed/discussions-middleware.git
Step:2
Execute npm install
command.
Step:3
add the environment variable in environmentHelper.js file.
Code Block |
---|
let localEnvVariables = {
NODEBB_SERVICE_URL: env.nodebb_service_url || 'http://localhost:4567',
Authorization: env.authorization_token || 'd8402b15-1d5f-4d84-9fae-595ef805f287', // Your local nodebb Master token
nodebb_api_slug: env.nodebb_api_slug || '/api'
} |
Step:4
Run the discussion middleware using the command npm run start
.