decidim-install icon indicating copy to clipboard operation
decidim-install copied to clipboard

delayed_job clarification

Open clauded opened this issue 5 years ago • 2 comments

I'm working on an Ansible script to install Decidim. I would like to clarify the configuration of SMTP: you're mentioning we can setup delayed_jobs or use something else. If we use "something else", are some of those lines still required?

group :production do gem "passenger" gem 'delayed_job_active_record' gem "daemons" end

My understanding is that the passenger is required for nginx and the other two gems for "delayed job" config.

Also, I would appreciate if you can publish info on using "something else" but not on AWS.

clauded avatar Aug 13 '19 15:08 clauded

The most used alternative would be Sidekiq, I'll try to improve this part. Thanks for your comments.

And yes, "daemons" is used to run delayed_job as a daemon (but it needs a script to ensure is running anyway). passenger is used by the gateway to nginx so it should stay there (unless you are not using passenger, ie "puma").

Please take a look at this script I am woking on (in progress) if you are creating an ansible, it may be useful: https://github.com/Platoniq/decidim-install/blob/install-script/vagrant/install-decidim.sh

microstudi avatar Aug 19 '19 13:08 microstudi

Thanks for the info. I will look at your script. You can check my Ansible playbook here: https://gitlab.forge.gouv.qc.ca/claude.durocher/decidim

clauded avatar Aug 20 '19 21:08 clauded