Django deployment tools

后端 未结 3 601
时光说笑
时光说笑 2021-02-15 12:55

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

相关标签:
3条回答
  • 2021-02-15 13:37

    Are you looking for something like pip requirements?

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

    0 讨论(0)
  • 2021-02-15 13:48

    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

    0 讨论(0)
  • 2021-02-15 13:56

    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.

    0 讨论(0)
提交回复
热议问题