I'm looking for some tool (or set of tools) that could help me automate deploying Django projects with all required dependencies.
I googled for some solutions but I am curious what are 开发者_开发技巧your favorite ones.
I'll second meder's suggestion: user virtualenv + pip. These will give isolated environments that can be mantained and replicated easily.
Once you got that running, you have two choices:
- fabric: Is great for simpler setups. You can script many deploy situations (code checkout, multiple servers, etc). Fabric makes little assumptions on what and how you are deploying, so it's pretty flexible.
- Zope's buildout : is more complex and harder to setup, but can do pretty much any deploy scenario you throw at it.
Best regards
You can also have a look at silver-lining. It's a bit early-on, but seems okay, as long as you are doing everything the same way in your project.
Are you looking for something like pip requirements?
http://www.saltycrane.com/blog/2009/05/notes-using-pip-and-virtualenv-django/
精彩评论