Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
mewben opened this Issue · 3 comments

2 participants

@mewben

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
Owner
mde commented

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

@mewben

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

@mewben mewben closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.