meteor使用外置mongodb

Use the environment variable MONGO_URL. Something like:

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

Replace your_db with "meteor" of whatever db you want to use.

详细见 http://stackoverflow.com/questions/10588038/how-to-use-the-existing-mongodb-in-a-meteor-project/10593624#10593624

你可能感兴趣的:(meteor使用外置mongodb)