Sha256: d9362a45d9fcd10d3b31cc7b3994203a0c770ecac9da428ebda6a8b8de8de1de
Contents?: true
Size: 1.86 KB
Versions: 1
Compression:
Stored size: 1.86 KB
Contents
# Alchemy CMS Spree Extension The World's Most Flexible E-Commerce Platform meets The World's Most Flexible Content Management System! This gem is a [Alchemy CMS](https://github.com/magiclabs/alchemy_cms) and [Spree](https://github.com/spree/spree) connector. ### For now it does this: 1. It provides an Alchemy module that displays Spree admin in an iframe inside Alchemy admin. 2. It gives you new Essences for Alchemy called EssenceSpreeProduct and EssenceSpreeTaxon that you can use to place a Spree product and Taxon on your pages. 3. Shares admin session between Alchemy and Spree. ## Installation Add this line to your application's Gemfile: gem 'alchemy_spree' And then execute: $ bundle Or install it yourself as: $ gem install alchemy_spree Install the migrations: $ rake alchemy_spree:install:migrations Migrate the database: $ rake db:migrate ## Usage ### Create a new Element for Alchemy # config/alchemy/elements.yml - name: product contents: - name: spree_product type: EssenceSpreeProduct - name: product_category contents: - name: spree_taxon type: EssenceSpreeTaxon ### Generate the views $ rails g alchemy:elements --skip ### Place this element on a page layout # config/alchemy/page_layouts.yml - name: product elements: [product] - name: products elements: [product_category] ### You can haz Spree product and taxons! # app/views/alchemy/elements/_product_view.html.erb <%= element.ingredient('spree_product') %> # app/views/alchemy/elements/_product_category_view.html.erb <%= element.ingredient('spree_taxon') %> Alchemy <3 Spree! ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Added some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alchemy_spree-0.2.0 | README.md |