Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document strategy for storing database credentials #1

Open
jmcnevin opened this issue Mar 2, 2015 · 0 comments
Open

Document strategy for storing database credentials #1

jmcnevin opened this issue Mar 2, 2015 · 0 comments

Comments

@jmcnevin
Copy link

jmcnevin commented Mar 2, 2015

Hello! Thanks for putting this gem together. It's been very helpful!

I'm wondering how you typically manage your database.yml config inside of the engine during a production deploy. Obviously, I don't want to get production database credentials checked into the gem's repo, and creating a new database.yml file inside of the engine during deployment could be a little tricky after the engine is gem-ified

I'm assuming that the only way to accomplish this would be make the config/database.yml inside of the engine almost entirely ERB-based, either passing in the credentials via ENV, or by reading a yml file in the hosting application.

This could be an important addition to this gem's README.

Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant