Skip to content

Instantly share code, notes, and snippets.

@fadur
Created January 31, 2011 21:00
Show Gist options
  • Save fadur/804799 to your computer and use it in GitHub Desktop.
Save fadur/804799 to your computer and use it in GitHub Desktop.
local fabfile
def local():
"""your local setup"""
env.hosts = ['localhost']
env.user = 'username'
env.password = 'secret'
env.projectname = 'test_project'
env.workspace = '/Users/%(username)s/Sites' #name of workspace dir
env.path = '%(workspace)s/%(projectname)s' % env
env.activate_path = '%(workspace)s/%(projectname)s/bin/activate' % env
env.apache_path = '%(path)s/apache' % env
env.httpd = '/private/etc/apache2/httpd.conf' #path to where your apache's httpd.conf is located
env.ip = '127.0.0.1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment