text: from fabric.api import *
  
  env.user = 'ptigas'
  env.hosts = ['hocus.io']
  
  def deploy():
  	with cd('repos/hocus'):
  		run('git pull')
  
  	with cd('repos/hocus/webapp'):
  		run('composer install')
  
  	with cd('repos/hocus'):		
  		run('rsync -rv --exclude=vendor webapp/* ~/Sites/hocus.io/')		
  		run('cp -r ~/Sites/hocus.io/settings.prod.php ~/Sites/hocus.io/settings.php')
  