--- 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'):
--- 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',
--- /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