[openstreetmap/openstreetmap-website] Expose smtp config (#2571)

Andy Allan notifications at github.com
Sun Mar 29 11:23:09 UTC 2020


> Well that is the purpose of the file

I think it would be better if settings were managed through the settings system, rather than having to write ruby code like this. The production.rb file should be used for stuff that's likely to apply to all production deployements, but e.g. smtp passwords are going to differ between all deployments and so aren't really compatible with that file. 

So I'm glad that @kgreenek found a solution, but I think that we can make life easier by exposing settings like these via the settings.yml files.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2571#issuecomment-605621139
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200329/fe699c92/attachment.htm>


More information about the rails-dev mailing list