Example chat application connecting a Django app & Slack
Python HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
chat
slackers
.gitignore
LICENSE
README.md
manage.py
requirements.txt

README.md

djangobot-example

This is an example chat application built on Django, channels & djangobot.

Installation and Setup

First, clone this repo and move into it:

$ git clone https://github.com/djangobot/djangobot-example.git
$ cd djangobot-example

Install python and make a virtual environment. The Python Guide has documentation for the major platforms.

Install the requirements:

$ pip install -r requirements.txt

Boot up Django:

$ ./manage.py runserver

In another shell, boot up djangobot:

$ DJANGOBOT_TOKEN=[your slack token] djangobot slackers.asgi:channel_layer

Finally, open your browser. You should see a page like this:

If not, open an issue and we'll help to get you up and running.

TODO

  1. Setup a procfile and add instructions for booting up on Heroku.