Set the MONGO_URL
environment variable before starting your local Meteor app.
MONGO_URL="mongodb://some-mongo-host.com:1234/mydatabase" meteor
or
export MONGO_URL="mongodb://some-mongo-host.com:1234/mydatabase"
meteor
Note: don't use "
set MONGO_URL=mongodb://some-mongo-host.com:1234/mydatabase
meteor
//package.json
"scripts": {
"start": "MONGO_URL=mongodb://some-mongo-host.com:1234/mydatabase meteor"
}
$ npm start