#
# quick way to update code by pulling new code and removing and reinstalling virtual environment to install only python
# dependencies from python dependency file
#
# EXECUTE FROM ROOT OF PROJECT
#

git pull
rm -fr ./venv
virtualenv venv
. ./venv/bin/activate
pip install -r ./python_deps.txt
echo "Done"
Add shell script to quickly update code. -Pulls from git -Removes and Reinstalls virtual environment venv -Installs python dependencies into venv virtual environment
Add shell script to quickly update code.
-Pulls from git
-Removes and Reinstalls virtual environment venv
-Installs python dependencies into venv virtual environment
