Skip to main content

fabric-verbose

Project description

https://badge.fury.io/py/fabric-verbose.svg

At a glance

fabfile.py

from fabric_verbose import verbose

# ...

def deploy():
     with verbose("Discarding local changes") as v:
         v.run('git reset HEAD; git clean -fd; git checkout .')

     with verbose("Pulling source code") as v:
         v.run('git pull')

     with verbose("Installing requirements") as v:
         v.run('pip install -r requirements.txt')

     with verbose("Starting") as v:
         v.run('fab start')

Output

* Discarding local changes... Done
* Pulling source code... Done
* Installing requirements... Done
* Starting... Failed

Fatal error: /bin/sh: uwsgi: command not found

Aborting.

Installation

$ pip install fabric-verbose

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fabric-verbose-0.1.0.tar.gz (2.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page