[openstreetmap-website] secret_token.rb probably ought not to be in the repository (#178)

Andy Allan notifications at github.com
Thu Jan 3 08:51:00 GMT 2013

In another rails project I work on, we have a secret in secret_token.rb, but also check for an override file. This allows things to work out-of-the-box when developing, but in production the secret token is overridden.


Here's a chef recipe for creating the secret token:


OSM uses chef, but might have to do things differently so that all the front-ends share the same secret token. Unless, of course, this is already taken care of by the OSM chef scripts!

In any case, we should probably update the REAMDE to suggest changing it when you're making your own installation.

Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130103/e1511585/attachment.html>

More information about the rails-dev mailing list