My app is on Engine Yard services and I need to set the environment variables to work with my secret id and password.
Somebody know how I can set each variables? What is the best way to do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’ve just managed to set environment variables for my application running on Unicorn.
Open /data/{app_name}/shared/config/env.custom and edit it to look like this:
Restart unicorn
/engineyard/bin/app_{app_name} reloadIf you are using passenger take a look at:
https://stackoverflow.com/a/12955526/1520775
https://github.com/jimneath/ey-cloud-recipes/tree/master/cookbooks/passenger_env_vars