diff options
| author | Alexis Métaireau <alexis@notmyidea.org> | 2017-03-21 15:08:42 +0100 |
|---|---|---|
| committer | Alexis Métaireau <alexis@notmyidea.org> | 2017-03-28 17:41:34 +0200 |
| commit | d1facecc69e3a2638b508b4120094873cdb7bcf2 (patch) | |
| tree | 1bcd60ed8e58280a8cc18139473a9d5cddf83452 /fabfile.py | |
| parent | a354973f1f9c2dd602a4c28e90540fdbf4020064 (diff) | |
| download | ihatemoney-mirror-d1facecc69e3a2638b508b4120094873cdb7bcf2.zip ihatemoney-mirror-d1facecc69e3a2638b508b4120094873cdb7bcf2.tar.gz ihatemoney-mirror-d1facecc69e3a2638b508b4120094873cdb7bcf2.tar.bz2 | |
Create a Makefile to ease development
Diffstat (limited to 'fabfile.py')
| -rw-r--r-- | fabfile.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/fabfile.py b/fabfile.py deleted file mode 100644 index 7e71739..0000000 --- a/fabfile.py +++ /dev/null @@ -1,13 +0,0 @@ -from fabric.api import env, cd, sudo, run - -env.hosts = ['sites.lolnet.lan'] - - -def deploy(): - with cd('/home//www/ihatemoney.org/code'): - sudo('git pull', user="www-data") - sudo('supervisorctl restart ihatemoney.org') - - -def whoami(): - run('/usr/bin/whoami') |
