Reputation: 121
I am using meteor.js for one of my project, I have mongoDB already(existing from previous application) where am i supposed to change the setting to connect to existing database. Let me say, I am running on windows.
Upvotes: 2
Views: 2550
Reputation: 75945
Do you mean a deployed project? Use the MONGO_URL environmental variable before you run your app.
set MONGO_URL=mongodb://localhost:27017/meteor
I'm not too sure about windows, but if you have trouble with this copy your mongo database into the .meteor/local/db folder of your app
Upvotes: 3