refstack-client/setup_ubuntu_env.sh
2014-07-10 11:48:59 -07:00

15 lines
540 B
Bash
Executable File

# insure base requirements are installed
sudo apt-get install -y git python-pip wget unzip
sudo apt-get install -y libxml2-dev libxslt-dev lib32z1-dev python2.7-dev libssl-dev
sudo apt-get install -y python-dev libxslt1-dev libsasl2-dev libsqlite3-dev libldap2-dev libffi-dev
sudo apt-get install libxml2-python
sudo pip install virtualenv
# If we've already created it, source it. If not, start and then source it.
if [ ! -d test_runner ]; then
virtualenv test_runner
fi
source test_runner/bin/activate
pip install -r requirements.txt