When I run an app with meteor --settings staging/settings.json it does not use the mongo database that is on staging/mup.json file
I have the following files in the staging folder:
mup.json
mupc.json
settings.json
Online I have read that the filename usually is mup.js but on the rep I have mup.son
How can I run the app with the database that is on the staging/mup.json file ?
I believe that the mup.json file is used to set the environment vars on the deploy server. It's not meant for running your app locally. In order to run the app locally and connect it to Mongo, you'll need to set the env var.
// Mac or Linux
$ export MONGO_URL=mongodb://yourMongoURI
// Windows
$ set MONGO_URL=mongodb://yourMongoURI