Best Fabric scripts for Django [closed]

2019-01-21 01:49发布

What are the best stock Fabric scripts for deploying a typical Django project? Fabric looks very good, but seems to require you to start from scratch and write your own deployment script. Coming from Capistrano, I'd like to start with something that works more out-of-the-box that others have tested rather than writing one from scratch.

Ideally I'd like one that syncs the database, performs migrations using South, backs up the site and database, and can roll back previous deploys.

3条回答
疯言疯语
2楼-- · 2019-01-21 02:10

Since everyone's environment is different, most Fabric scripts are going to be different from each other. So a "stock" Fabric script for anything will likely never exist.

Fabric allows you to easily create your own. A couple links I found useful are:

查看更多
一纸荒年 Trace。
3楼-- · 2019-01-21 02:30

Check this tutorial

I have found on this a good howto for work on django projects

http://www.jeffknupp.com/blog/2012/02/09/starting-a-django-project-the-right-way/

查看更多
贼婆χ
4楼-- · 2019-01-21 02:31

You might have a look at Woven.

查看更多
登录 后发表回答