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.box_restart = ['sctl restart %(box_domain)s:*'] 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, 1, 7))
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.4.1.tar.gz
(11.3 kB
view details)
Built Distribution
File details
Details for the file fh-fablib-0.4.1.tar.gz
.
File metadata
- Download URL: fh-fablib-0.4.1.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f72c6a9d2f21d46068b15720d43f03de575317c85fbfb4f35d44683901a2e992 |
|
MD5 | f4abd3fe504989804ec9877ea754265d |
|
BLAKE2b-256 | 698227205bed2611d6b554445910ee3884d9701d10ac75ebed22ccd9edb32c03 |
File details
Details for the file fh_fablib-0.4.1-py2.py3-none-any.whl
.
File metadata
- Download URL: fh_fablib-0.4.1-py2.py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a3645be7a302f67c357c708a1a9d39244026306bedf1ce80bfb0b6b7ecc2c1b |
|
MD5 | 37efeefb3831e6420316fc20631fa8ea |
|
BLAKE2b-256 | c767e58cf09c4989edbdb512e29be21a7b0a63769fed920d9051e5b217674368 |