- Install Redis
sudo dnf install redis
[fedora/redhat]
- setup
config/application.rb
to 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 install
rails db:create
rails s
to run serverbundle exec sidekiq
to run sidekiq job runnerredis-server
to run redis db- hit
http://localhost:3000
- and happy learning :)