Deploying to Heroku with sensitive setting information

Posted by TK on Stack Overflow See other posts from Stack Overflow or by TK
Published on 2010-06-03T06:49:35Z Indexed on 2010/06/03 6:54 UTC
Read the original article Hit count: 194

Filed under:
|
|

I'm using GitHub for code and Heroku for the deployment platform for my rails app.

I don't want to have sensitive data under Git. Such data include database file settings (database.yml) and some other files that have secret API keys.

When I deploy to heroku, how can I deal with files that are not under revision control.

When I use Capistrano, I can write some hook methods, but I don't know what to do with Heroku.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about deployment