apt-get update; apt-get upgrade -y
apt-get install python-dev build-essential python-pip libxml2-dev libxslt-dev libfontconfig -y
pip install splinter selenium ipython
wget http://phantomjs.googlecode.com/files/phantomjs-1.8.2-linux-x86_64.tar.bz2
tar xvf phantomjs-1.8.2-linux-x86_64.tar.bz2
export PATH=$PATH:phantomjs-1.8.2-linux-x86_64/bin