Fabic is used for automating deployment of your application.
Fabric is used for automating deployment of your application.
Install:
$ pip install fabric
Create the fabfile:
$ touch fabfile.py
Then add the following code:
from fabric.api import local
def deploy():
local('git add .')
comment=raw_input('please type in commit:')
local('git commit -m "%s"' % comment)
local('git push origin master')
Run:
$ fab deploy