The Django Chatbot is a chatbot application that utilizes background tasks processing and communication via WebSockets.
For more detailed information, please refer to my article titled Heroku Chatbot with Celery, WebSockets, and Redis.
To deploy the application using Docker, follow these steps:
- Clone the repository:
git clone https://github.com/slyapustin/django-chatbot
- Build and run the project:
docker-compose up
- Visit
http://localhost:8000/
in your web browser.
Alternatively, you can host the chatbot on Heroku. Please note that an account verification is required.
Click the button below to deploy the chatbot on Heroku:
The chatbot utilizes the following technologies:
- Django: The main web framework.
- Django Channels: The WebSocket framework.
- Celery: An asynchronous task queue.
- Redis: A message broker and cache backend.
- Daphne: An HTTP and WebSocket protocol server.
- Heroku: The hosting platform.
The chatbot supports the following commands:
sum <x> <y>
: Calculates the sum of two integers.status <url>
: Checks the status of a website.
Join the Slack channel #django-chatbot for assistance.