Skip to content

rodrigodlima/Fabric

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Fabric

Example How To Use Fabric To Automate Administration Tasks And Deployments

What is Fabric? As the README says:

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. More specifically, Fabric is:

A tool that lets you execute arbitrary Python functions via the command line; A library of subroutines (built on top of a lower-level library) to make executing shell commands over SSH easy and Pythonic. Naturally, most users combine these two things, using Fabric to write and execute Python functions, or tasks, to automate interactions with remote servers. Let’s take a look.

To install Fabric on MacOS:

Press Command+Space and type Terminal and press enter/return key. Run in Terminal app: $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null and press enter/return key. Wait for the command to finish. Run: $ brew install fabric

To install Fabric on Ubuntu/Debian:

$ sudo apt-get install fabric

If you already have a Python-pip package on your system, you can install Fabric from pip command:

$ pip install fabric

About

Example How To Use Fabric To Automate Administration Tasks And Deployments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published