okfn / timemapper

Create and share elegant timelines and timemaps fast
http://timemapper.okfnlabs.org/
MIT License
274 stars 60 forks source link

Create global config that can be loaded from a local config.js file #1

Closed rufuspollock closed 12 years ago

rufuspollock commented 13 years ago

Global config would hold things like geonames user name.

This is also essential to production deployment where we need to set ES backend etc.

rufuspollock commented 12 years ago

See this good SO thread: http://stackoverflow.com/questions/5869216/how-to-store-node-js-deployment-settings-configuration-files and this specific library: https://github.com/flatiron/nconf