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 and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page