How do I use an existing MongoDB in a Meteor project?

Use the environment variable MONGO_URL.
Something like:

export MONGO_URL=mongodb://localhost:27017/your_db

Replace your_db with meteor or whatever db you want to use.

Leave a Comment