sbin/sync/sync_hdabo
changeset 145 5e79ea1eccb3
parent 136 78e72cc505b9
child 401 08d30e121c86
equal deleted inserted replaced
144:07b820858226 145:5e79ea1eccb3
    27 if [ -d ~/tmp/hdabo_V$1 ]; then
    27 if [ -d ~/tmp/hdabo_V$1 ]; then
    28     echo "Deleting temp export"
    28     echo "Deleting temp export"
    29     rm -fr ~/tmp/hdabo_V$1;
    29     rm -fr ~/tmp/hdabo_V$1;
    30 fi
    30 fi
    31 
    31 
    32 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 "export PYTHONPATH=/iridata/www/exp/hdabo && source /iridata/virtualenv/hdabo/bin/activate && cd /iridata/www/exp/hdabo/hdabo && python manage.py collectstatic --noinput"
    33 ssh iri@web.iri.centrepompidou.fr sudo apache2ctl restart
    33 ssh iri@web.iri.centrepompidou.fr sudo apache2ctl restart