forked from ashwoods/webfaction-django-fabfile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
40 lines (26 loc) · 861 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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
Makes specific asumptions of the project layout:
requirements.pip file containing python requirements
setup.py that defines a bin/manage.py (look at linconlnloop startproject for an example)
only supports git repos atm.
Usage
=====
just drop in your repo or submodule it.
cp fabsettings.py and adapt to your needs.
And deploy:
fab deploy
Available commands:
fab --list
fab deploy
fab deploy:quick
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