How would I use a (live running) MongoDB to develop another meteor app? I tried modifying (.meteor/server/server.js
) and specifying MONGO_URL
to no ava
As mentioned in the Unofficial Meteor FAQ, you can invoke Meteor with the MONGO_URL
environment variable set to the desired instance:
MONGO_URL=mongodb://localhost:27017 meteor
If your MongoDB handles multiple databases, you can indicate which one to use by appending it to the URL:
MONGO_URL=mongodb://localhost:27017/mydb meteor
You can even prevent Meteor from starting a local Mongo instance in development by running:
MONGO_URL=none meteor