README.md in tkh_content-0.0.3.1 vs README.md in tkh_content-0.1

- old
+ new

@@ -24,24 +24,37 @@ Then execute: $ bundle -Import migration +Import migrations and needed files $ rake tkh_content:install -Run the migration +Run the migrations $ rake db:migrate -Add these 3 lines to the bottom of your routes file, just before the final end statement +And then of course restart your server! - scope "(:locale)", locale: /#{I18n.available_locales.join("|")}/ do - resources :pages, only: :show, path: '' - end + $ rails s -And then of course restart your server! + +## Upgrading + +Update the gem: + + $ bundle update tkh_content + +Update files, migrations, etc. This is only needed with a new minor version number ( second level from left ) + + $ rake tkh_content:update + +Run migrations if there are new ones + + $ rake db:migrate + +Start your server! $ rails s ## Usage