a django example for using nodejs and socket.io with django
Python JavaScript CoffeeScript
Switch branches/tags
Nothing to show
Latest commit 85058b1 Mar 5, 2012
marvin fixed the socket.emit command to io.sockets.emit
messages where not sent to every connected client

README.md

DJANGO NODEJS SOCKET.IO EXAMPLE

This example show's how to use Django in connection with node.js and socket.io

Requirements

  • django
  • nodejs
  • socket.io
  • coffeescript

Info

For the base template I used html5 boilerplate. All Javascript is written in CoffeeScript.

Usage

To start the nodeJS server

node server.js

To start django

python manage.py runserver 8080

Open your browser and go to

http://localhost:8080