Django deployment tools

孤街浪徒 提交于 2019-12-04 19:43:20

问题


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.


回答1:


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




回答2:


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.




回答3:


Are you looking for something like pip requirements?

http://www.saltycrane.com/blog/2009/05/notes-using-pip-and-virtualenv-django/



来源:https://stackoverflow.com/questions/3214645/django-deployment-tools

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!