-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Load MongoDB from dump #159
Comments
This is a good idea. Actually, I've been already thinking about adding this feature. |
Is there a way of doing that now? Or at least connecting to an existing database for tests instead of provisioning a new one? |
@veered You can try passing var server = meteor({
mongoUrl: 'mongodb://127.0.0.1:27017/myDatabase'
}); Please let me know if it helps. |
I tried that syntax and it appears that Gagarin still creates a new database. What part of the codebase should I be looking at to figure this out? |
Looks like we need to pass in |
Would you like for me to open up a pull request? |
@veered Yes, please. |
Here's the pull request #160 |
@veered Thanks! I will look into this. |
How do I load mongo db from dump? |
I'd like to be able to load fixtures generated by
mongodump
for my tests to use. Any idea what the best way to do this is?The text was updated successfully, but these errors were encountered: