Sidekiq

Simple, efficient background processing for Ruby
Icons/chart bar
Used 143 times
Created by
M Moses Gathuku

Usage
After installing this template, start sidekiq from the root of your Rails application so the jobs will be processed.

bundle exec sidekiq

Run this command in your Rails app directory in the terminal:

rails app:template LOCATION="https://railsbytes.com/script/VAjsZ6"
Template Source

Review the code before running this template on your machine.

run "bundle add sidekiq"


environment = ask("Which environment do you want to configure sidekiq with active jobs?\n",:blue)

environment "config.active_job.queue_adapter = :sidekiq", env: environment 

say("Sidekiq Successfully Installed", :blue)

say("Thankyou for using this template, Please give it a like", :blue)
Comments

Sign up or Login to leave a comment.