Dandify

View the Project on GitHub groundctrl/dandify

Dandify

Dandify (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.

Features

When creating or editing a stylesheet, SASS and SCSS are both accepted. If there are errors in your code, an error will be thrown to allow you to correct the issue(s). Regular CSS is also accepted.

You can have any number of revisions to a stylesheet. Only the most recent stylesheet can be edited. After editing the stylesheet, a new revision will be created with the most recent changes. You can only restore or roll back to the revision immediatly behind the current stylesheet.

Installation

Add this line to your Spree application's Gemfile:

gem 'dandify', github: 'groundctrl/dandify'

Run the bundle command to install it:

bundle install

After installing, run the generator:

bundle exec rails g dandify:install

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

Authors and Contributors

Created and maintained by:

Contributors include:

Support

Having trouble? Check out the wiki or view current issues.