Deploying Instructions:
MongoDB Datastore:
- Install a local MongoDB server instance.
- Start the local MongoDB instance sudo service mongod start
- Install node.js.
- Install dependencies: Navigate to the folder ‘ChatBot / dataLoad_scripts /’ and run the command npm install
- Data Load: Run the following scripts in a sequence to load the data node course_details.js node course_description.js node class_timetable.js
REST Services Server:
- Install node.js.
- Install the package pm2 which is a process manager for node.js.
- Install dependencies: Navigate to the folder ‘ChatBot / services /’ and run the command npm install The command installs the dependencies for the node.js services.
- Run the server: Run the following command to start the node.js server in the services folder. pm2 start app.js