The master repository contains source for the reusable version of Chatter. If you want to test out what it looks like as a standalone app, switch to the development branch.
This app makes use of Django Channels 2 and uses Redis as the message broker.
This app is still in its alpha phase. We plan to improve it so it can be used as a package in other Django-based web apps.
Community support and ideas for improvement most welcome!
- Clone this repository:
git clone https://github.com/dibs-devs/chatter.git
- Install required packages:
pip install -r requirements.txt
- Install Redis: [https://redis.io]
- Run migrations:
python manage.py makemigrations chat && python manage.py migrate
- Create superuser for initial setup:
python manage.py createsuperuser
- Fire up Redis server:
redis-server
(this app is configured to communicate at 6379, the default port for Redis) important - Run the development server:
python manage.py runserver
- Go to
localhost:8000/admin
in a browser - Log in using the newly created superuser
- Create as many more users as you want
- Create rooms in which users can chat
- Go to
localhost:8000
- Start chatting!
Unit tests haven't been setup for this package yet. Tests welcome!
- Add a "Create Group" option
- Notifications using django-notifications
- Improve 'Seen by user x' functionality