Skip to content

Instantly share code, notes, and snippets.

@kogakure
kogakure / fabfile.py
Created February 18, 2009 16:23
Python: Fabric (0.9+) – Deploying a Django-Project
#!/usr/bin/python
# -*- coding: utf-8 -*-
from fabric.api import env
env.hosts = ['host.com']
env.user = 'user' # Can also be written in ~/.fabricrc (user = <username>)
env.server_path = '/home/user/django/apache2/bin'
env.project_path = '/home/user/django/project'
env.memcached_ip = 'IP'