Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (11 sloc) 0.371 kb
from fabric.api import *
env.hosts = ['']
remote_repo = '/srv/www/projects/apps/fountains'
def deploy():
""" Deploys local version to server and merges into deploy branch """
local('git push server master')
with cd(remote_repo):
run('git merge master')
def restart():
""" Restart Apache """
sudo('service apache2 restart')
Jump to Line
Something went wrong with that request. Please try again.