Click here to Skip to main content
15,890,557 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello , I am new to meteorJS

I want to change the default db of meteor js project to existing db , my existing db url is localhost:27017\Designer
Note : i am using windows
Thank you.
Posted
Updated 16-Jan-16 7:41am
v2

1 solution

Quote:
How do I hook into an existing, running MongoDB instance?

You can start meteor with the MONGO_URL environment var set:

$ MONGO_URL=mongodb://localhost:27017 meteor
Note that pre-existing data in mongo may be hard to deal with.

unofficial-meteor-faq - GitHub[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900