I’ve read the section on the docs and still just dont understand. How exactly to I set Meteor.settings to this json file? I can’t do it on deploy because I need to bundle for production.
In development
meteor --settings pathtosettings.json
Deploying to meteor.com
meteor deploy --settings pathtosettings.json
In production, use the environment variable METEOR_SETTINGS
METEOR_SETTINGS="$(cat pathtosettings.json)"
EventedMind walkthrough: https://www.eventedmind.com/feed/meteor-organizing-environment-variables-and-settings