I am on Ubuntu 12.04 and I\'m just learning about environment variables. I am trying to read a custom variable from within my application but it always shows up as undefin
undefin
You might want to consider using a library for managing app configuration.
For example nconf helps manage configuration through
And looking at the source is a nice way to learn https://github.com/flatiron/nconf