- Install Redis
sudo dnf install redis[fedora/redhat]
- setup
config/application.rbto use redis as cache store and sidekiq as queue backend - create worker
create class file worker in
app/worker/background_worker.rb(you can replace as you want) this file use to save a process that will run in background
- clone this repo and change dir to this project
bundle installrails db:createrails sto run serverbundle exec sidekiqto run sidekiq job runnerredis-serverto run redis db- hit
http://localhost:3000 - and happy learning :)