Follow the tutorial from Ruby on Rails Guide to build a basic blog. Link: http://guides.rubyonrails.org/getting_started.html