fusionbox/django-fusionbox — pull request #14 by gavinwahl (2012-01-17 21:32:22+00:00)
Title: Common fabric patterns

Most interesting: `fusionbox.fabric_helpers.stage`, stages a django site

A typical ``fabfile.py`` using :mod:`fusionbox.fabric_helpers` looks like

from fusionbox.fabric_helpers import *

env.roledefs = {
'dev': ['dev.fusionbox.com'],
}

env.project_name = 'foobar'
env.short_name = 'fb'

stage = roles('dev')(stage)

See docs for more info.