sbin/sync/sync_hdabo
changeset 66 289ded098316
parent 37 85f45ad591f6
child 136 78e72cc505b9
equal deleted inserted replaced
62:953ee4c9c7c3 66:289ded098316
    26 if [ -d ~/tmp/hdabo_V$1 ]; then
    26 if [ -d ~/tmp/hdabo_V$1 ]; then
    27     echo "Deleting temp export"
    27     echo "Deleting temp export"
    28     rm -fr ~/tmp/hdabo_V$1;
    28     rm -fr ~/tmp/hdabo_V$1;
    29 fi
    29 fi
    30 
    30 
    31 ssh iri@web.iri.centrepompidou.fr "export PYTHONPATH=/iridata/www/exp/hdabo && source /srv/virtualenv/hdabo/bin/activate && cd /iridata/www/exp/hdabo/hdabo && python manage.py collectstatic"
    31 ssh iri@web.iri.centrepompidou.fr "export PYTHONPATH=/iridata/www/exp/hdabo && source /srv/virtualenv/hdabo/bin/activate && cd /iridata/www/exp/hdabo/hdabo && python manage.py collectstatic --noinput"
    32 ssh iri@web.iri.centrepompidou.fr sudo apache2ctl restart
    32 ssh iri@web.iri.centrepompidou.fr sudo apache2ctl restart