I would like to try an keep my development machine as close as the production server (heroku in this case).
Heroku lets you define config vars ie.
config:add key=val
This is now pretty secure as secret key values are not stored in my code.
Do you know how and where can I create such environment variables per app on my local mac machine.
I have googled this and as of yet not found a good solution. Any ideas ?
Thanks in advance.
Thanks Zabba, But I have actually found a great way for me.
I am using POW to run my local apps and reading the docs I have found out that you can set Environment Vars by adding a .powenv file in the root of my app ie.
You can then use in your app like normal ie.
Pretty kool stuff.