django-tornadio - django tornadio integration. Known to work in Django 1.3
Download and install:
git clone https://github.com/k1000/django-tornadio cd django-stratus python setup.py install
or using pip:
pip install -e git+https://github.com/k1000/django-tornadio#egg=django_tornadio
Add "django-tornadio" to your INSTALLED_APPS in "settings.py"
Just execute command:
./manage.py runtornadio or:: ./manage.py runtornadio --reload 8777 7666
where last nubmers indicate Tornadio Socket port and Flash policy server port respectively
- --reload auto-reloads server on any code change.
- --flash_policy_file Path to Flash policy file "flashpolicy.xml" (in "static" folder)
- --noxheaders Tells Tornado to NOT override remote IP with X-Real-IP.
Ajust ROUTES in settings.py accordingly
django-stratus is released under the MIT License. See the LICENSE file for more details.