Skip to content

Instantly share code, notes, and snippets.

@peppelorum
Forked from monokrome/fabfile.py
Created February 3, 2012 08:52
Show Gist options
  • Select an option

  • Save peppelorum/1729124 to your computer and use it in GitHub Desktop.

Select an option

Save peppelorum/1729124 to your computer and use it in GitHub Desktop.
A simple way to deploy Django epio
from fabric.api import local
class Deployment(object):
def __init__(self):
local('python manage.py collectstatic')
local('epio upload')
local('epio django syncdb')
local('epio django migrate')
def deploy():
deployment = Deployment()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment