Fabric

From air
Revision as of 09:37, 4 August 2015 by Donsez (talk | contribs) (Created page with "[http://www.fabfile.org/ Fabric] is a Python (2.5-2.7) library and command-line tool for streamlining the use of SSH for application deployment or systems administration tasks...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Fabric is a Python (2.5-2.7) library and command-line tool for streamlining the use of SSH for application deployment or systems administration tasks.


Install

sudo apt-get -y install python-pip
sudo apt-get -y install fabric
git clone https://github.com/warner/python-ecdsa.git
cd python-ecdsa/
sudo python setup.py install
cd ..
sudo rm -fr python-ecdsa
fab -V


Test

mkdir fabrictest
cd fabrictest
cat <<EOF > fabfile.py
def hello():
    print("Hello world!")
EOF
fab --list
fab hello