deploy.sh: update the virtualenv

This commit is contained in:
Sybren A. Stüvel 2016-07-20 15:49:38 +02:00
parent 7880fb6968
commit 5c6263dd3d

View File

@ -30,6 +30,9 @@ ${SSH} git -C ${REMOTE_ROOT} fetch origin production
${SSH} git -C ${REMOTE_ROOT} log origin/production..production --oneline ${SSH} git -C ${REMOTE_ROOT} log origin/production..production --oneline
${SSH} git -C ${REMOTE_ROOT} merge --ff-only origin/production ${SSH} git -C ${REMOTE_ROOT} merge --ff-only origin/production
# Update the virtualenv
${SSH} -t docker exec ${DOCKER_NAME} /data/venv/bin/pip install -U -r ${REMOTE_ROOT}/requirements.txt --exists-action w
# Wait for [ENTER] to restart the server # Wait for [ENTER] to restart the server
echo echo
echo "===================================================================" echo "==================================================================="