Skip to content

Environment Variables in Production #375

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

Closed
gojohnnygo opened this issue Jul 20, 2014 · 1 comment
Closed

Environment Variables in Production #375

gojohnnygo opened this issue Jul 20, 2014 · 1 comment
Labels

Comments

@gojohnnygo
Copy link

A super n00b question but how do you make the environment variables in local.env.js available in the production environment?

I see the file in the dist folder, but social logins don't work. My hackety workaround is to add the IDs/secrets directly to server/config/environment/index.js.

@JaKXz JaKXz added the question label Jul 20, 2014
@DaftMonk
Copy link
Member

Depends on the server you deploy to. Whatever server you use should have a way to set environment variables, so you'll have to add the ones from the local.env.js manually.

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

No branches or pull requests

3 participants