Today I got my Django project working with Orbited.
By creating a twisted proxy for Orbited and Django I am able to serve a development environment for both Django and Orbited plus the builtin MorbidQ message queue.
I am going to be using this to give live notifications of events that are happening on the system in realtime, and so it should be able to handle quite a large load. To do this I will use another queue in production, but I have found it needed to sort out the development environment first of course.
This daemon I have put up at GitHub .
It even serves the static files. Much thanks goes to the HotDot project for seeing how alot of this was done, but I have taken out the authentication and other bits to make it cleaner for general use.
2 Comments
Hi Tim,
I tried the Clemesha hotdot project and I found yours code is from it. I have one problem while using this binding script to run the django app under orbited. It will run without any problem when we use “twisted -ny server.py” command.
It will hang when we run it in the daemon mode. Did you have any such a experience while using this code in the daemon mode by running the command “twisted -y server.y”
Please help me to solve this, I’m already spend two days for this..:(.
Thanks,
Haridas N.
I am not using it anymore, instead running the code on its own. WSGI for django, and running hookbox instead.