Platoniq / decidim-install

A step-by-step guide to install Decidim on a production site
https://platoniq.github.io/decidim-install/
GNU Affero General Public License v3.0
54 stars 35 forks source link

delayed_job clarification #38

Open clauded opened 5 years ago

clauded commented 5 years ago

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.

microstudi commented 5 years ago

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

clauded commented 5 years ago

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