Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
executable file 24 lines (19 sloc) 0.586 kb
#!/usr/bin/env bash
# install pip if it doesn't exist yet
which pip > /dev/null 2>&1
if [ $? -ne 0 ]; then
sudo apt-get install -q -y python-pip
fi
# install python development headers
dpkg --get-selections | grep python-dev > /dev/null 2>&1
if [ $? -ne 0 ]; then
sudo apt-get update
sudo apt-get install -q -y python-dev
fi
# install ffi for bcrypt
dpkg --get-selections | grep libffi-dev > /dev/null 2>&1
if [ $? -ne 0 ]; then
sudo apt-get install -q -y libffi-dev
fi
# install requirements from pip requirements file
sudo pip install -r /vagrant/requirements.txt
Jump to Line
Something went wrong with that request. Please try again.