Created
January 31, 2011 21:00
-
-
Save fadur/804799 to your computer and use it in GitHub Desktop.
local fabfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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