README.md in spina-0.10.0 vs README.md in spina-0.11.0

- old
+ new

@@ -9,25 +9,32 @@ # Getting Started Spina is a CMS built upon the Rails framework. This guide is designed for developers with experience using Ruby on Rails. -To start using Spina CMS simply add the following lines to your Gemfile: +To start using Spina CMS add the following line to your Gemfile: ```ruby -gem 'spina-template' -gem 'spina' +gem 'spina', git: 'https://github.com/denkGroot/Spina' ``` Make sure you run the installer to get started. rails g spina:install The installer will help you setup your first user. Then start `rails s` and access your admin panel at `/admin`. +## Upgrading from 0.10 to 0.11 + +The spina-template gem is merged into the spina gem. You don't have to use the original spina-template gem anymore. + +## Upgrading from 0.9 to 0.10 + +When upgrading to Spina 0.10 it's essential to update spina-template to version 0.4 or higher. Otherwise layout issues will occur. + ## Upgrading from 0.8 to 0.9 Theme configuration changed to: ```ruby @@ -35,10 +42,15 @@ Spina::Theme.register do |theme| # Theme config end ``` -Check out [config/initializers/themes/default.rb](https://github.com/denkGroot/Spina/blob/master/lib/generators/spina/templates/config/initializers/themes/default.rb) for an example. +And theme sections, structures, layouts, view_layouts and layout_parts +has been normalised. + +Check out [config/initializers/themes/demo.rb](https://github.com/denkGroot/Spina/blob/master/lib/generators/spina/templates/config/initializers/themes/demo.rb) for an example. + +Add new migrations `rake spina:install:migrations` and `rake db:migrate` ## Upgrading from 0.7 to 0.8 Spina-specific configuration moved from `Spina::Engine.config` to just `Spina.config`. Change the following in your initializer: