Skip to content

Commit

Permalink
Updated gemspec for Globalize
Browse files Browse the repository at this point in the history
  • Loading branch information
Bramjetten committed Jul 30, 2017
1 parent 05ee650 commit 6d83ca4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# Getting Started

Spina is a CMS built upon the Rails framework. This guide is designed for developers with experience using Ruby on Rails.
Spina is a CMS for Rails 5.1. This guide is designed for developers with experience using Ruby on Rails.

To start using Spina CMS add the following line to your Gemfile:

Expand All @@ -23,7 +23,14 @@ Make sure you run the installer to get started.

The installer will help you setup your first user.

Then start `rails s` and access your admin panel at `/admin`.
Then start `rails s` and access Spina at `/admin`.

## Upgrading from 0.11 to 0.12

Just run the new migrations.

rails spina:install:migrations
rails db:migrate

## Upgrading from 0.10 to 0.11

Expand Down Expand Up @@ -67,7 +74,7 @@ Spina.configure do |config| # NEW

The installer generates a few initializers that contain necessary configuration for Spina.

In the initializers folder there's a new folder named `themes`. Inside you will find a configuration file named `default.rb`. This file contains all of your theme-specific settings. You can define multiple Page parts, Layout parts, View templates and Custom pages.
In the initializers folder there's a new folder named `themes`. Inside you will find a configuration file named `default.rb`. This file contains all of your theme-specific settings. You can define multiple Page parts, View templates and Custom pages.

## Page parts

Expand Down Expand Up @@ -174,12 +181,6 @@ Finally, let's go to `views/default/pages/show.html.erb` and add the following:

We have successfully added another textbox! Restart your server and load up the admin section again. You should see another text box below the content box.

## Layout parts

Sometimes you need editable content that's not specific to a view template but to your theme as a whole. You can use the following parts in your layout.

- `Spina::Line`

## View templates

Each theme typically has a few different view templates which make up your website. By default Spina generates a *homepage* and *show* template.
Expand Down
2 changes: 1 addition & 1 deletion spina.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Gem::Specification.new do |s|
s.add_dependency 'breadcrumbs_on_rails'
s.add_dependency 'turbolinks', '~> 5'
s.add_dependency 'kaminari'
s.add_dependency 'globalize', '~> 5.1.0.beta1'
s.add_dependency 'globalize', '~> 5.1.0.beta2'
s.add_dependency 'rack-rewrite', '~> 1.5.0'

s.add_development_dependency 'factory_girl', '~> 4.0'
Expand Down

0 comments on commit 6d83ca4

Please sign in to comment.