/webfaction-django-fabfile

Fabric script to deploy django apps on webfaction

Primary LanguageShell

webfaction django deployment script
===================================

Small deployment script to automate deploying to django/gunicorn
projects on webfaction.

Uses the webfaction API to create the apps, and installs supervisor 
to run gunicorn.

Requirements
============

Fabric

Assumes the project layout conforms to pydanny's django cookiecutter: https://github.com/dpretty/cookiecutter-django

only supports git repos atm.

Usage
=====
just drop in your repo or submodule it.
cp fabsettings.py and adapt to your needs.

# to set up the website:
fab setup
# to update the website:
fab update

Thanks to David Bennett & Richard Cooper for their excellent tutorials:
http://www.db-init.com/2010/9/16/going-green
http://fightingrabbits.com/archives/208

Thanks to Ashley Camba for his original fabric script, which this is based on.