For meteor up (mup), do I have to copy the values from meteor settings.json to mup.js under the "env" key?

Hello,

I am trying to figure how to deploy with mup.
For meteor up (mup), do I have to copy the values from meteor settings.json to mup.js under the “env” key?
If so, can I include the settings.json file from within the mup.js file and assign it to the “env” key dynamically? So I don’t have to keep both files sync.

Thanks,

Hi,
no, you don’t copy nothing from meteor, as you can see in configuration example
http://meteor-up.com/docs.html#example-configs
in “env” key, you have to set only few things, ROOT_URL and MONGO_URL:
env: {
ROOT_URL: ‘https://[domain].[tld]’,
MONGO_URL: ‘mongodb://localhost/meteor’,
},

1 Like