Like many projects, I have a file called bootstrap.js that initializes a bunch of collections:
if (Regions.find().count() === 0) {
Regions.insert({name: "MyTown", .... });
}
I don’t want to type all of my documents in because the interface that I created is much more efficient. Now I have all of my documents loaded in the database, my questions is, how do I export the documents to get them into bootstrap.js file?