Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Latest commit

 

History

History
51 lines (28 loc) · 1.44 KB

README.md

File metadata and controls

51 lines (28 loc) · 1.44 KB

Dandify

Code Climate Build Status

Dandify is not a theme. It is a theme helper that allows you to quickly apply versioned frontend style changes from the Spree admin. Dandify only works with stylesheets. Dandify is best used in conjunction with Shopping Mall.

More information at http://groundctrl.github.io/dandify

Installation

Gem

Add the following to your Gemfile:

gem 'dandify', '~> 3.0.0'

If you are not on the lastest version of Spree you can specify a branch

gem 'dandify', github: 'groundctrl/dandify', branch: '2-4-stable'

Generators

Run the bundle command to install it:

bundle install

After installing Dandify you'll need to run the generator:

bundle exec rails g dandify:install

This will run migrations as well as install the styles for the admin.

Testing

Generate a dummy application

bundle exec rake test_app

Running tests

bundle exec rake spec

Contributing

  1. Fork it ( https://github.com/groundctrl/dandify/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request