Skip to content

Instantly share code, notes, and snippets.

@cjknowles
cjknowles / fabfile.py
Created September 29, 2016 16:42
CentOS 7 fabric deployment script for Mezzanine Django CMS
# CentOS 7 fabric deployment script for Mezzanine Django CMS
#
# WARNING #1: will only work where SELinux is disabled, SELinux compatible version is in the works.
# WARNING #2: only tested with rsync deployment method
#
# To use - replace the default Debian targeted fabfile.py template and add gunicorn.service.template to the default
# template's deploy directory, or replace and add to your already created project.
#
# ../lib/python2.7/site-packages/mezzanine/project_template/fabfile.py
# ../lib/python2.7/site-packages/mezzanine/project_template/deploy