Run sidekiq in proudction mode
##To Update cron
bundle exec whenever --update-crontab
## To start Redis
redis-server
##clear rediscache
redis-cli flushall
## To Start Sidekiq in production env
bundle exec sidekiq -d -L sidekiq.log -q mailer,5 -q default -e production
## compile assets
rake assets:precompile RAILS_ENV=production
bundle exec whenever --update-crontab
## To start Redis
redis-server
##clear rediscache
redis-cli flushall
## To Start Sidekiq in production env
bundle exec sidekiq -d -L sidekiq.log -q mailer,5 -q default -e production
## compile assets
rake assets:precompile RAILS_ENV=production
Comments
Post a Comment