I would like to have my meteor apps use Mongo databases that I specify. Also, I develop many different meteor apps and they all use different MONGO_URLs. Apparently it does not work for me to set MONGO_URL in my settings.json file. I don’t want to set it as an environment variable either, since I don’t want it shared between all my projects. So what can I do?
Environment variables are not shared between projects or processes unless you set them globally.
You can easily create a bash script that runs Meteor with the environment you need for your project and keep it in the same folder.
Thats a great idea – how can I learn to think like this?