How to use values in config/secrets.js in development.js or production.js? #559

mewben opened this Issue Feb 28, 2014 · 3 comments


None yet

2 participants

mewben commented Feb 28, 2014

Hi, I want to save my database configuration values in config/secrets.js since it will not be included in git commit.

Can I use those values in my development.js or in production.js maybe?

mde commented Mar 3, 2014

A better approach might be to set environment variables, and reference them in your development.js/production.js files using process.env.

mewben commented Mar 4, 2014

Thanks @mde ... Can you point me where to set environment variables in geddy please? Thanks again..

@mewben mewben closed this Mar 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment