I'd recommend gunicorn for what you are describing. The django dev server isn't meant to be used in production like you describe.
http://gunicorn.org/ Basically, you'd setup the gunicorn process to start (or schedule it with something like supervisord), and then have something in front that proxies to it. I've been using nginx and it has been working really well. Much better stability than we had been seeing with mod_python, mod_wsgi or fastcgi. This is similar to what we do: http://www.rkblog.rk.edu.pl/w/p/deploying-django-project-gunicorn-and-nginx/ except that we use supervisord to manage the gunicorn processes. Hope that helps, Alex On Tue, Jan 25, 2011 at 9:51 AM, Peter Halliday <[email protected]> wrote: > Is this for development? Because if this was for production I'd say you > shouldn't do that. Instead you should just run apache + mod_wsgi or some > other deployment method. > > Peter Halliday > Excelsior Systems > (Phone:) 607-438-2527 x101 > (Fax:) 888-265-5082 > > > On Tue, Jan 25, 2011 at 10:50 AM, allan <[email protected]> wrote: >> >> Hello all, >> >> I'm in the process of deploying Satchmo on a Linux (CentOS) virtual >> machine. I'd like to install a daemon to start Satcho (e.g., "python >> manage.py runserver") on boot, manage starting and stopping it, and so >> on. The daemon will live in /etc/init.d/ and follow the protocols for >> daemons that live there. >> >> It looks like a routine job, but has anyone else written one so I >> won't need to do it myself? >> >> Thanks! >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Satchmo users" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/satchmo-users?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Satchmo users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/satchmo-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.
