Generate Images Thumbnails in background processing jobs
Refinery CMS 4.x
Open up your Gemfile
and at the bottom, add this line:
gem 'refinerycms-dragonfly-delayed'
Now, run bundle install
Next, to install the blog plugin run:
rails generate refinery:dragonfly_delayed
Run database migrations:
rake db:migrate
- In your Procfile, add the following line to configure the worker process :
worker: rake jobs:work
- Configure a worker process on your hosting environment