django-supervisor

Software Screenshot:
django-supervisor
Software Details:
Version: 0.3.1
Upload Date: 20 Feb 15
Developer: Ryan Kelly
Distribution Type: Freeware
Downloads: 57

Rating: 2.5/5 (Total Votes: 2)

django-supervisor is a Django app that combines the process-management awesomeness of supervisord with the convenience of Django's management scripts.

Rationale

Running a Django project these days often entails much more than just starting up a webserver. You might need to have Django running under FCGI or CherryPy, with background tasks being managed by celeryd, periodic tasks scheduled by celerybeat, and any number of other processes all cooperating to keep the project up and running.

When you're just developing or debugging, it's a pain having to start and stop all these different processes by hand.

When you're deploying, it's a pain to make sure that each process is hooked into the system startup scripts with the correct configuration.

Django-supervisor provides a convenient bridge between your Django project and the supervisord process control system. It makes starting all the processes required by your project as simple as:

python myproject/manage.py supervisor

Advantages

Django-supervisor is admittedly quite a thin layer on top of the wonderful functionality provided by supervisord. But by integrating tightly with Django's management scripts you gain several advantages:

- manage.py remains the single point of control for running your project.
- Running all those processes is just as easy in development as it is in production.
- You get auto-reloading for all processes when running in debug mode.
- Process configuration can depend on Django settings and environment variables, and have paths relative to your project and/or apps.
- Apps can provide default process configurations, which projects can then tweak or override as needed.

Requirements:

  • Python
  • Django

Other Software of Developer Ryan Kelly

PyEnchant
PyEnchant

28 Feb 15

withrestart
withrestart

28 Feb 15

m2wsgi
m2wsgi

15 Apr 15

Comments to django-supervisor

Comments not found
Add Comment
Turn on images!