spree_cloudinary

A cloudinary extension for spree commerce

Last updated on: August 20 at 03:28 PM

source code bug tracker
Opensource
4 4 2
owner:  madhu314

Spree Cloudinary

This is a cloudinary extension for spree based out of carrierwave. It uses carrierwave's paperclip adapter and rewires paperclip calls to carrierwave in image decorator. Inspired from this cloudinary spree extension with specific fixes for Rails 5 and Spree 3.1.0

Installation

  1. Add this extension to your Gemfile with this line: ruby gem 'spree_cloudinary', github: 'madhu314/spree_cloudinary'

  2. Install the gem using Bundler: ruby bundle install

  3. Copy & run migrations ruby bundle exec rails g spree_cloudinary:install

  4. Restart your server

If your server was running, restart it so that it can find the assets properly.

Testing

First bundle your dependencies, then run rake. rake will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using rake test_app.

bundle
bundle exec rake

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_cloudinary/factories'

Copyright (c) 2017 Madhusudhan Sambojhu, released under the New BSD License

compatible spree versions
tags spree versions
master >= 3.1.0, < 4.0
authors
Madhusudhan