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
Add this extension to your Gemfile with this line:
gem 'spree_cloudinary', github: 'madhu314/spree_cloudinary'
Install the gem using Bundler:
Copy & run migrations
bundle exec rails g spree_cloudinary:install
Restart your server
If your server was running, restart it so that it can find the assets properly.
First bundle your dependencies, then run
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
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:
Copyright (c) 2017 Madhusudhan Sambojhu, released under the New BSD License