Skip to content

devxoul/fabric-verbose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fabric-Verbose

image

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages