forked from ashwoods/webfaction-django-fabfile
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
33 lines (23 loc) · 838 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
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.