chesstrian / poc-channels

Proof of concept using Channels with Django. Also connected to Celery.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run Project

  • Install RabbitMQ
  • Install Redis
  • Install project dependencies:
pip install -r requirements.txt
  • Prepare database (Run once):
./manage.py migrate
./manage.py createsuperuser  # Follow steps
  • Run celery worker:

See README.md file in workers project.

  • Run Django project:
./manage.py runserver 0.0.0.0:8000

Run Tests

  • Install requirements:
pip install -r requirements_dev.txt

Then just write:

py.test

About

Proof of concept using Channels with Django. Also connected to Celery.


Languages

Language:Python 80.3%Language:HTML 13.6%Language:JavaScript 4.8%Language:CSS 1.3%