Skip to content

Instantly share code, notes, and snippets.

Created Nov 14, 2013
What would you like to do?
echo I am provisioning...
if [ -e "/etc/vagrant_provisioned_at" ]
echo Already provisioned!
exit 0
wget --quiet -O - | sudo apt-key add -
echo deb precise-pgdg main >> /etc/apt/sources.list
# stuff
apt-get install -y python-software-properties
add-apt-repository -y ppa:chris-lea/node.js
add-apt-repository -y ppa:fkrull/deadsnakes
apt-get update
apt-get install -y redis-server memcached screen byobu python-software-properties
apt-get install -y libpq-dev libfreetype6-dev g++ libpng-dev libmemcached-dev libbz2-dev libsqlite3-dev curl rabbitmq-server make build-essential python-dev python-pip libjudy-dev
apt-get install -y python3.3 python3.3-dev
#apt-get install -y clang-3.4 lldb-3.4
apt-get install -y postgresql-9.3 postgresql-contrib-9.3
pip install fabric
curl | python3.3
curl | python3.3
easy_install-3.3 pytz
pip-3.3 install numpy
pip-3.3 install distribute
pip-3.3 install matplotlib
pip-3.3 install -r /vagrant/requirements.txt
pip-3.3 install --upgrade distribute
pip-3.3 install gunicorn
cp /vagrant/puppet/files/ /usr/local/lib/
date > /etc/vagrant_provisioned_at
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment