Hi,

> Xavier, could you point to any resources about using buildout with Django, 
> virtualenv and pip?  I'm assuming you're using it to deploy things into 
> production, right?

I usually use virtualenv / pip for early development as it requires almost no 
setup.
I prefer using buildout once the project start being mature and for production.

For buildout, I use djangorcecipe (http://pypi.python.org/pypi/djangorecipe) 
which will do most of the work for me ;)
Jacob Kaplan wrote a nice article about it 
(http://jacobian.org/writing/django-apps-with-buildout/)

As for virtualenv, you should instal virtual env wrappers that might help you: 
http://pypi.python.org/pypi/virtualenvwrapper/2.7.1
There's not much to say about it, basically it is create your env, activate it 
and pip install what you need and you are good to go.

Virtualenv is commonly used on production but I prefer buildout as all the 
paths troubles are automatically handled by the buildout. On my boxes, the 
server starts with:
 /myapp/bin/django run_gunicorn 127.0.0.1:myport --workers=howmanyyouwant
No extra path to set or configuration to make.

Regards,
Xavier.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to