an example of using Django with Socket.IO
Python JavaScript
Latest commit d35672f May 5, 2011 @codysoyland Merge pull request #1 from andymckay/master.
default port
Permalink
Failed to load latest commit information.
media
templates provide default port that matches docs if SERVER_PORT is not present Apr 14, 2011
LICENSE Add ported example from gevent-socketio. Feb 6, 2011
README.rst
__init__.py Add ported example from gevent-socketio. Feb 6, 2011
manage.py Add ported example from gevent-socketio. Feb 6, 2011
pip_requirements.txt Add ported example from gevent-socketio. Feb 6, 2011
run_example.py Add ported example from gevent-socketio. Feb 6, 2011
settings.py Add ported example from gevent-socketio. Feb 6, 2011
urls.py Add ported example from gevent-socketio. Feb 6, 2011
views.py Add missing break. Feb 6, 2011

README.rst

django-socketio-example

This is an example of using Django with Socket.IO, meant to compliment my blog post on Django with Socket.IO.

Installation

git clone git://github.com/codysoyland/django-socketio-example.git
cd django-socketio-example
easy_install pip
pip install virtualenv
virtualenv .
source ./bin/activate
pip install -r pip_requirements.txt

Running

Start the example server:

./run_example.py

Then point your browser to http://localhost:9000/.