Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 2.7 KB

README.md

File metadata and controls

35 lines (27 loc) · 2.7 KB

Mastersthesis_bot2021

Evaluation and Implementation of a motivational bot to support documentation process in mechatronics system design

The code is based on the boillerplate code available in the official documentation available from Microsoft called Bot builder samples

D3driver

This is a productivity bot designed to support documentation of prominent design decisions in an inter disciplinary team. It makes use of the rich set of adaptive cards feature of the Microsoft for communication and documenting design decsions. Detailed information available in the final thesis report.

Requirements

Steps to run this bot in the local system

  1. Clone the repository https://github.com/bhargavimohan/Masterthesis_bot2021/tree/D3driver
  2. Open the directory in Visual studio code
  3. Install Microsoft Teams Toolkit from the Extensions of Visual studio code
  4. Register a bot named D3driver following Bot Framework registration
    1. Start the ngrok using the terminal inside Visual studio code using ngrok http -host-header=rewrite 3978
  5. Navigate to config.py to change the Microsoft App ID & App password as provided during Bot Framework registration in Step 4
  6. The below steps should be done for a unique Microsoft teams instance
  • Navigate to teamsAppManifest folder to update the manifest.json. All occurances of <<YOUR-MICROSOFT-APP-ID>> should be replaced with the Microsoft App ID that was crreated during Bot Framework registration in step 4
  • All the files in the teamsAppManifest directoory should be zipped to create manifest.zip
  • Upload the manifest.zip in Microsoft teams using the upload a custom app option
  1. Install all dependencies by running pip3 install -r requirements.txt in a new terminal from the right folder
  2. Navigate to Masterthesis_bot2021/src/app.py and open app.py, bring up another new terminal to run pip3 app.py or press ctrl+F5

Steps to run D3driver as a docker container

  1. Perform steps 1-7 as explained previously
  2. Navigate to src folder in the folder in a terminal and run the following command docker run --rm -it -p 3978:3978 -v /Masterthesis_bot2021/src/database:"/app/database" python-d3d-docker-bot