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
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.
- ngrok
- A valid developer account in Microsoft Teams
- Python 3.7
- Visual studio code
- Docker Desktop and the Visual studio Code Docker extension
- Clone the repository
https://github.com/bhargavimohan/Masterthesis_bot2021/tree/D3driver
- Open the directory in Visual studio code
- Install Microsoft Teams Toolkit from the Extensions of Visual studio code
- Register a bot named D3driver following Bot Framework registration
-
- Start the ngrok using the terminal inside Visual studio code using
ngrok http -host-header=rewrite 3978
- Start the ngrok using the terminal inside Visual studio code using
- Navigate to
config.py
to change the Microsoft App ID & App password as provided during Bot Framework registration in Step 4 - 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
- Install all dependencies by running
pip3 install -r requirements.txt
in a new terminal from the right folder - Navigate to
Masterthesis_bot2021/src/app.py
and openapp.py
, bring up another new terminal to runpip3 app.py
or pressctrl+F5
- Perform steps 1-7 as explained previously
- Navigate to
src
folder in the folder in a terminal and run the following commanddocker run --rm -it -p 3978:3978 -v /Masterthesis_bot2021/src/database:"/app/database" python-d3d-docker-bot