fh-fablib
Project description
Usage (fabfile.py):
from __future__ import unicode_literals from fabric.api import env import fh_fablib # env.box_environment contains the currently active environment. # Default values available in all environments env.box_project_name = 'app' env.box_domain = 'example.ch' env.box_database_local = 'example_ch' env.forward_agent = True # Remove this for multi-env support env.box_hardwired_environment = 'production' # Environment specific values. env.box_environments = { 'production': { 'shortcut': 'p', 'domain': 'example.ch', 'branch': 'master', 'servers': [ 'user@example.com', ], 'remote': 'production', # git remote alias for the server. 'repository': 'example.ch', 'database': 'example_ch', }, 'staging': { 'shortcut': 's', 'domain': 'stage.example.ch', 'branch': 'develop', 'servers': [ 'user@example.com', ], 'remote': 'staging', 'repository': 'example.ch', 'database': 'stage_example_ch', }, } fh_fablib.init(globals(), min_version=(0, 6, 0), systemd=True)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fh-fablib-0.6.2.tar.gz
(12.0 kB
view details)
File details
Details for the file fh-fablib-0.6.2.tar.gz
.
File metadata
- Download URL: fh-fablib-0.6.2.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1c85f929896ef9b2d0a193a675716c57996b5f348bf4c470452b3cd9611bf91 |
|
MD5 | d45708b61a74c857bca948c5ac257f79 |
|
BLAKE2b-256 | 884d5ce6c4e0caaadcbccff1872643f067d76f902358abde14ba7a07510b911b |