virtualenv is good at what it does, but it's not a comprehensive deployment tool. It does one thing, and I think it does it well. A really good resource is JKM's companion repository to his Django deployment workshop, replete with slides. His setup uses Chef, but you should also check out Puppet.
-- I'd be a bit turned off, by the way, by a host that only offers Python 2.4 -- it'll be seven years old in November!
On Mon, May 23, 2011 at 10:00 PM, John Crawford <cyclops@speakeasy.net> wrote:
I'd like to know what kind of experience people have had, in using
virtualenv (to run a particular version of Python on a VPS) with
Django, and related packages? Not *just* Django (and Python), I'm
fairly sure that will work, but all the other bits and pieces that
tend to be required, like mod_wsgi, or mysqldb_python, and so on?
Is virtualenv really effective, or does it turn out to be a nightmare
to get everything working correctly? I've been looking around the web
(particularly StackOverflow), and it like more like a nightmare. :(
The VPS I am using, turns out to run on CentOS, which uses Python 2.4
for everything, alas. So either I downgrade all my existing 2.6 code
to 2.4, or I install 2.6 on the VPS without breaking it, which would
require virtualenv. (Or changing hosting, which I'm also seriously
considering...)
John C>
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment