This repository is build while writing this blog https://medium.com/analytics-vidhya/deploying-rasa-chatbot-on-heroku-using-docker-7199bf16c219 .
- chatbot It contains Rasa chatbot server.
- website It contains Django server for frontend.
- For chatbot folder
$ pip install --no-cache rasa==1.5.3
- For website folder
$ cd website
$ pip install -r requirements.txt
- Start rasa server
- Change directory chatbot
cd chatbot
- Start rasa actions server
$ rasa run actions
- Start rasa-x if you want to change intent, dialogue and train it again or skip this step.
$ rasa x
- Start rasa api server
$ rasa run --cors "*" --enable-api
- Start Django server
- Change directory chatbot
cd website
- If you want to run your local chatbot then change the this url https://github.com/dlmade/blog/blob/master/website/rasaweb/static/js/script.js#L40 with following one
url: 'http://localhost:5005/webhooks/rest/webhook',
- Start django server
$ python manage.py runserver
- See magic in browser Run following url in your browser and interect with your bot
127.0.0.1:8000