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

Fabfile for provisioning and deploying Django on Debian 6

Notifications You must be signed in to change notification settings

davecap/deploy-django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Fabfile for provisioning and deploying Django on Debian 6

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages