Skip to content

Instantly share code, notes, and snippets.

@jessecarrigan
Created March 4, 2014 05:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jessecarrigan/9340725 to your computer and use it in GitHub Desktop.
Save jessecarrigan/9340725 to your computer and use it in GitHub Desktop.
Fabric settings for Mezzanine deployment, sans passwords (and with very bad keys)
FABRIC = {
"SSH_USER": "x", # SSH username
"SSH_PASS": "x", # SSH password (consider key-based authentication)
"SSH_KEY_PATH": "", # Local path to SSH key file, for key-based auth
"HOSTS": ['192.168.33.10'], # List of hosts to deploy to
"VIRTUALENV_HOME": "/home/vagrant", # Absolute remote path for virtualenvs
"PROJECT_NAME": "testproject", # Unique identifier for project
"REQUIREMENTS_PATH": "requirements.txt", # Path to pip requirements, relative to project
"GUNICORN_PORT": 8000, # Port gunicorn will listen on
"LOCALE": "en_US.UTF-8", # Should end with ".UTF-8"
"LIVE_HOSTNAME": "vagrant.example.com", # Host for public site.
"REPO_URL": "https://bitbucket.org/feanorancalime/test-project", # Git or Mercurial remote repo URL for the project
"DB_PASS": "x", # Live database password
"ADMIN_PASS": "", # Live admin user password
"SECRET_KEY": "abc123",
"NEVERCACHE_KEY": "123abc",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment