#Setting Up a Ubuntu Machine
####Step 1 Install all dependencies using Laptop by Thoughtbot
bash <(wget -qO- https://raw.githubusercontent.com/thoughtbot/laptop/master/linux) 2>&1 | tee ~/laptop.log
####Step 2 Restart computer
####Step 3
Make sure zsh is the default shell and edit ~/.zshrc
to ensure that /home/<user>/rbenv/bin
is loaded in path
####Step 4
Ensure rbenv is evaluated at load eval "$(rbenv init -)" is after that line in ~/.zshrc
####Step 5 Restart terminal
####Step 6
Set up current linux user to be superadmin for Postgres (which enables commands like rake db:create
)
sudo su postgres
createuser --interactive #create a user with the same name as the linux user and be made admin
####Step 7
Download sublime and add subl
as a command by creating a symbolic link inside PATH