Heroku; Passing In Configuration

I’ve been pushing my app to Heroku for deployment. For development VCS I used Git(hub).

According the documentation, configuration files should not be added to VCS (as I can understand, because those would become public). Problem kicks in when I push my files to Heroku, the (generated) .gitgnore prevents pushing the configuration files, so the application won’t run.

What’s the best way to work around or solve this problem without exposing my configuration (security creditionals)? Or is the only solution getting private (github) repos and pushing my configuration files afterall? Any way of passing in the configuration from some custom git parameters?

Any ideas would be appreciated!


You can remove the configuration files in your .gitignore.

You can remove the configuration files in your .gitignore.