Follows Ruby on Rails tutorial by Daniel Kehoe