Setup environment
# update
sudo apt-get update
sudo apt-get upgrade
# system stuff
sudo apt-get install zsh
sudo apt-get install git
sudo apt-get install nginx
# python
sudo apt-get install python-pip
sudo pip install virtualenvwrapper
export WORKON_HOME=$HOME/envs
export PROJECT_HOME=$HOME/projects
source /usr/local/bin/virtualenvwrapper.sh
# PIL
sudo apt-get build-dep python-imaging
sudo apt-get install libjpeg62 libjpeg62-dev
# postgresql
sudo apt-get install libpq-dev python-dev
sudo apt-get install postgresql postgresql-contrib
sudo -i -u postgres
psql
# nodejs
sudo apt-get install nodejs
sudo ln -s /usr/bin/nodejs /usr/bin/node # if 14.04, need node instead nodejs
sudo apt-get install npm
sudo npm install bower -g
# compass (14.04, if need ruby 2)
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties
sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev
curl -L https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
echo "source ~/.rvm/scripts/rvm" >> ~/.zshrc
rvm install 2.1.2
rvm use 2.1.2 --default
ruby -v
gem install compass