Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (10 sloc) 0.33 kb
from fabric.api import *
env.hosts = ['lolnet.org:20002']
env.shell = "/usr/local/bin/bash -c"
env.path = "/usr/local/bin/:/usr/bin/"
def deploy():
with cd('/usr/local/www/notmyidea.org/ihatemoney'):
sudo('git pull', user="www")
sudo('supervisorctl restart ihatemoney')
def whoami():
run('/usr/bin/whoami')
Jump to Line
Something went wrong with that request. Please try again.