Skip to content


Subversion checkout URL

You can clone with
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (23 sloc) 1.505 kb
#!/usr/bin/env bash
echo "Checking for SSH key, generating one if it exists ..."
[[ -f ~/.ssh/ ]] || ssh-keygen -t rsa
echo "Copying public key to clipboard. Paste it into your Github account ..."
[[ -f ~/.ssh/ ]] && cat ~/.ssh/ | xclip
echo "Using apt-get to install OS packages so let's update it first ..."
sudo apt-get update -y
echo "Installing OS packages. You will be prompted for your password ..."
sudo apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev libmysqlclient-dev libmagickwand-dev mysql-client mysql-server xvfb memcached redis-server -y
echo "Install Postgres, a great open source relational database ..."
sudo apt-get install libpq5 libpq-dev postgresql -y
echo "Installing ack, a good way to search through files ..."
sudo apt-get install ack-grep -y
echo "Installing ImageMagick, good for cropping and re-sizing images ..."
sudo apt-get install imagemagick --fix-missing -y
sudo apt-get install libqt4-dev
echo "Installing RVM (Ruby Version Manager) ..."
bash -s stable < <(curl -s
rvm pkg install openssl
rvm pkg install iconv
rvm install 1.9.3-p0 --with-openssl-dir=$HOME/.rvm/usr
bash < <(curl -s
Jump to Line
Something went wrong with that request. Please try again.