How can I run a meteor app and have it use the mup.json and settings.json file inside the staging folder? -
when run app meteor --settings staging/settings.json not use mongo database on staging/mup.json file
i have following files in staging folder:
mup.json mupc.json settings.json
online have read filename mup.js on rep have mup.son
how can run app database on staging/mup.json file ?
i believe mup.json file used set environment vars on deploy server. it's not meant running app locally. in order run app locally , connect mongo, you'll need set env var.
// mac or linux $ export mongo_url=mongodb://yourmongouri // windows $ set mongo_url=mongodb://yourmongouri
Comments
Post a Comment