From d37c2e9eb15bd2c35c51a7d01e7ee060d7ad6a92 Mon Sep 17 00:00:00 2001 From: Karl Hobley Date: Fri, 1 Nov 2019 09:28:37 +0000 Subject: [PATCH] Vagrant: Run pip install from $PROJECT_DIR Makes it easy to install submodules and packages that are checked in to git --- vagrant/provision.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vagrant/provision.sh b/vagrant/provision.sh index 44927cc..1f2b76d 100755 --- a/vagrant/provision.sh +++ b/vagrant/provision.sh @@ -22,7 +22,7 @@ su - $DEV_USER -c "echo $PROJECT_DIR > $VIRTUALENV_DIR/.project" su - $DEV_USER -c "$PIP install --upgrade pip" # Install PIP requirements -su - $DEV_USER -c "$PIP install -r $PROJECT_DIR/requirements/base.txt" +su - $DEV_USER -c "cd $PROJECT_DIR && $PIP install -r requirements/base.txt" # Set execute permissions on manage.py as they get lost if we build from a zip file