#!/bin/sh # SCript to run after heliopropa source where updated. # # Should be execute within root directory of project # # May be run by the git post-receive hook source ./venv/bin/activate pip install -r requirements.txt # may be more commands to run ... # flask db upgrade sudo systemctl restart heliopropa sudo systemctl restart nginx