Skip to content
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.

Latest commit

 

History

History
36 lines (20 loc) · 609 Bytes

README.markdown

File metadata and controls

36 lines (20 loc) · 609 Bytes

This package contains a fabfile (+ cuisine) for simple provisioning and deployment of Django app running on Debian 6.

The stack is:

  • Nginx
  • Gunicorn
  • Django
  • Memcached
  • Postgresql

Supervisord is optional. Right now I personally just restart guncorn using a kill -HUP. This seems to work fine for my purposes. I've included an example init script in the provision folder.

Usage

Install the requirements:

pip install -r requirements.txt

Set up your settings.py file.

Initialize your server

fab initialize

Provision it

fab provision

Deploy!

fab deploy

Settings

TODO