Skip to content

Django with Celery (Redis Backend, Rabbitmq Broker) for RTC usign nodejs with socketio

Notifications You must be signed in to change notification settings

allangz/djangortctest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

==============================================================
 Example Django project using Celery with Nodejs and Socketio
 with Redis for RTC data
==============================================================

Contents
========

proj/
=========

This is the project iself, created using
django-admin.py startproject proj, and then the settings module
(proj/settings.py) was modified to add demoapp to
INSTALLED_APPS

proj/celery.py
==================

This module contains the Celery application instance for this project,
we take configuration from Django settings and use autodiscover_tasks to
find task modules inside all packages listed in INSTALLED_APPS.

demoapp/
============

Example generic app.  This is decoupled from the rest of the project by using
the @shared_task decorator.  This decorator returns a proxy that always
points to the currently active Celery instance.

Configure email account and password for gmail account in sendmail on file tasks.py

nodejs/
===========

Nodejs webserver with socket listen to chanel post on Redis and send it to 
client using socketio.

Starting the worker
===================

    $ celery -A proj worker -l info

Starting Nodejs
===================

    $ nodejs quote.js 

Starting django
===================

    $ python manage.py runserver


About

Django with Celery (Redis Backend, Rabbitmq Broker) for RTC usign nodejs with socketio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published