codeforamerica / adopt-a-hydrant

A web application that allows citizens to "adopt" civic infrastructure, such as fire hydrants that need to be shoveled out after it snows.
http://adopt-a-hydrant.herokuapp.com/
BSD 3-Clause "New" or "Revised" License
713 stars 233 forks source link

moved secret token to ENV variable & updated README #21

Closed monfresh closed 11 years ago

monfresh commented 11 years ago

I think it's a good practice to not expose secret tokens for open source apps.Modifying secret_token.rb to point to the SECRET_TOKEN environment variable requires setting the token on Heroku. I updated the README to include those instructions, in addition to other steps essential to a successful deployment.

sferik commented 11 years ago

This looks great. Thanks for updating the documentation, in addition to the code.