Learn about the new Django Channels by creating a simple but nice real-time chat application using WebSockets on SourceLair (https://www.sourcelair.com)
The easiest way to get started is by visiting https://lair.io/stacks/channels-chat and starting a new SourceLair project with a single click.
This will do the following on your behalf:
- create a new SourceLair Python 3.5, Django 1.10 project
- clone the code from this Git repository
- install all the needed dependencies using
pip install -r requirements.txt
The repository contains different branches, used as checkpoints for following out tutorial found here: https://www.sourcelair.com/blog/articles/115/django-channels-chat
If you'd like to see the final example, just git checkout -f step/final
- open files using QuickOpen (Ctrl + Shift + O or Cmd + Shift + O if you are on a Mac)
- edit your files using SourceLair's fully-featured editor
- install pip dependencies using the command palette (Ctrl + Shift + P or Cmd + Shift + P if you are on a Mac)
- run commands (e.g.
./manage.py migrate
) in SourceLair's Linux terminal - in case you need any help contact SourceLair using the envelope icon in the sidebar or send an email to support@sourcelair.com
The code provided in this template is licensed under the MIT License. For more information check out the LICENSE file.