blenderbox / spree_cms

Content Management System for Spree 2.0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spree CMS

Under development. Do not install!

Compatibility

Tested on Spree 2.0.x

Installation

Add spree_cms to your Gemfile:

gem 'spree_cms'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g spree_cms:install

Pull the CMS templates into your app (optional)

bundle exec rails g spree_cms:views

Run the rake task to pull Static Blocks into your database. Run this any time you add / remove a template file from app/views/cms/static_blocks to keep your database synced

bundle exec rake spree_cms:build:static_blocks

About

This extension adds a Content Management System to your Spree site. Complete with:

  • Layouts > Regions > Blocks
  • Menus with nestable Menu Items
  • Pages, belonging to Menu Items, are editable using a WYSIWYG editor
  • WYSIWYG image uploader
  • Slideshow, Menu, Custom HTML, and Static blocks

See the wiki for more info.

Testing

Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.

bundle
bundle exec rake test_app
bundle exec rspec spec

When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:

require 'spree_cms/factories'

Contributing

License

Copyright (c) 2013 ncherro, released under the New BSD License

About

Content Management System for Spree 2.0

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Ruby 66.0%Language:JavaScript 31.7%Language:CSS 2.3%