Skip to content

Latest commit

 

History

History
38 lines (35 loc) · 1.03 KB

README.md

File metadata and controls

38 lines (35 loc) · 1.03 KB

Dentist Chatbot Service

A skeleton of dentist chatbot service

Deployment Instruction

To build the dentist service

$ cd dentist_service/ && docker build -t dentist_service . 
$ docker run -p 5200:5200 dentist_service

To build the timeslot service

$ cd timeslot_service/ && docker build -t timeslot_service .
$ docker run -p 5100:5100 timeslot_service

How To Run the Application

  • Complete the deployment instruction above (If you haven't install docker, you can run in terminal as well, Here's the instruction)
    $ cd dentist_service/ && pip3 install requirements.txt
    $ python3 -m swagger_server
    Open another tap or terminal window
    $ cd timeslot_service/ && pip3 install requirements.txt
    $ python3 -m swagger_server
  • Run the chatbot service
    $ cd chatbot/ && pip3 install -r requirements.txt
    $ python3 -m swagger_server
  • Install front end dependency
    $ cd botui && npm install
  • open the chatbot.html file in the Chrome and you should see the content