AndresVargas

Hi!, my nickName is zodman, im a Computer science Engineering. love the FLOSS and FreeSoftware. Python ninja and php coder. On left my love Aisha and me.

Interest links
seen more



Powered by Django.

Fabric a pythonic tool for deployment

Today im found a list of python-es this very Usefull tool for admin system.

Fabric its a tool for execute commands on remote servers. With it you can automate updates/softwares and others stuff. very Usefull.

example:

 set(
     project = 'awesome-app',
     fab_hosts = ['n1.cluster.com', 'n2.cluster.com'],
  )
 def deploy():
    "Build the project and deploy it to a specified environment."
     local('mvn package')
     put('target/$(project).war', '$(project).war')
     put('install-script.sh', 'install-script.sh')
     sudo('install-script.sh')

Code Python
BACK