https://github.com/devxoul/fabric-verbose
https://github.com/devxoul/fabric-verbose
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/devxoul/fabric-verbose
- Owner: devxoul
- License: mit
- Created: 2014-09-21T10:03:28.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-09-21T18:44:56.000Z (almost 11 years ago)
- Last Synced: 2025-02-03T17:55:54.164Z (5 months ago)
- Language: Python
- Size: 178 KB
- Stars: 4
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Fabric-Verbose
==============.. image:: https://badge.fury.io/py/fabric-verbose.svg
:target: http://badge.fury.io/py/fabric-verboseAt a glance
-----------**fabfile.py**
.. code-block:: python
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**
.. code-block::
* Discarding local changes... Done
* Pulling source code... Done
* Installing requirements... Done
* Starting... FailedFatal error: /bin/sh: uwsgi: command not found
Aborting.
Installation
------------.. code-block:: console
$ pip install fabric-verbose