I’am a newbie with mongoDB. Now I’am developing a personal project. I’m using MongoVUE, and while I’m developing I create my indexes with MongoVUE. But of course the DB im working on is for development. How I copy my indexes, to the production DB? When I pass to production the collections will be empty, how I create those indexes with empty collections?
Script? program to do this? what you recommend?
Thanks!
When you create an index with MongoVUE it’ll show you the actual MongoDB shell command in the Learn Shell panel at the bottom. Just keep a record of these commands and run them directly through the shell on your production server when you’re ready to deploy.