Django部署工具 [英] Django deployment tools
本文介绍了Django部署工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在寻找一些可以帮助我自动部署具有所有必需依赖项的Django项目的工具(或一组工具)。
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.
推荐答案
我会第二个调解者的建议:user virtualenv + pip。这些将给出孤立的环境,可以轻松地被复制和复制。
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 :非常适合简单的设置。您可以编写许多部署情况(代码检出,多个服务器等)。 Fabric对您的部署和部署方式做了很少的假设,因此它非常灵活。
- Zope的buildout :更复杂,更难设置,但是可以做很多任何你所投掷的任何部署方案。
- 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.
最好的问候
这篇关于Django部署工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文