I currently have a meteor application that is started with the following command:
meteor -p 3002 --settings ../settings.js
Inside settings.js I have a variety of variables, including some which are private (keys, etc) and some of which are more along the lines of global variables (actual settings).
I'd like to be able to have two settings files, one of which I could version control (the one with actual settings in it) and another which would be outside of version control (it would have keys, etc).
I would say that normally, I suppose the meteor way of doing this would be to use global variables somewhere inside the app for the settings. The reason I don't want to do it that way is because I have two different apps which should share these settings. There are a variety of complicated reasons that this is the case, but for now I don't really have any other way around it.
Thoughts for how I might be able to achieve this?