# HG changeset patch # User ymh # Date 1420563235 -3600 # Node ID eb73a4e6881edc0eab6ec6c2db8a381fd739b6a2 # Parent 74040696c850fb04e3a270fc27b702b3bcec43ed correct fabfile + new version diff -r 74040696c850 -r eb73a4e6881e sbin/sync/fabfile.py --- a/sbin/sync/fabfile.py Tue Jan 06 17:48:50 2015 +0100 +++ b/sbin/sync/fabfile.py Tue Jan 06 17:53:55 2015 +0100 @@ -1,4 +1,4 @@ -from fabric.api import env, local, put, run, cd, lcd, task, prefix +from fabric.api import env, local, put, run, lcd, task, prefix, sudo from fabric.contrib.files import exists from fabric.colors import green import tempfile @@ -56,9 +56,7 @@ # now that all is set up, delete the folder again run('rm -rf /tmp/%s.tar.gz' % dist) - # # and finally touch the .wsgi file so that mod_wsgi triggers - # # a reload of the application - # run('touch /var/www/yourapplication.wsgi') + sudo('supervisorctl restart catedit', shell=False) @task(default=True) def deploy_version(version='tip'): diff -r 74040696c850 -r eb73a4e6881e setup.py --- a/setup.py Tue Jan 06 17:48:50 2015 +0100 +++ b/setup.py Tue Jan 06 17:53:55 2015 +0100 @@ -2,7 +2,7 @@ setup( name='catedit', - version="0.1.0", + version="0.1.1", url='http://www.iri.centrepompidou.fr', author='I.R.I.', author_email='dev@iri.centrepompidou.fr', diff -r 74040696c850 -r eb73a4e6881e virtualenv/requirements_sync.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/virtualenv/requirements_sync.txt Tue Jan 06 17:53:55 2015 +0100 @@ -0,0 +1,1 @@ +Fabric>=1.10.1