SeanNguyen
2/5/2017 - 9:14 PM

Set_up_awesome.md

Postgresql

sudo apt-get update
sudo apt-get install libpq-dev # this is for gem install on ubuntu
sudo apt-get install postgresql postgresql-contrib

NVM - Node

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash

RVM - Ruby

OS variations

Mac

Basic requirements for fresh machine

Xcode: xcode-select --install Homebrew: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

UBUNTU

Basic requirements for fresh machine

sudo apt-get update
sudo apt-get install curl

Install RVM (Ruby Version Manager)

Follow this guide. The instructions by 27/12/2016 is like following:

gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
curl -sSL https://get.rvm.io | bash -s stable --rails

Remember to add these line to .bashrc file to have rvm and ruby funtioning

# RVM
# Load RVM into a shell session *as a function*
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" 
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting

GVM - Golang

https://github.com/moovweb/gvm

bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)