Normally MongoDB is handle by using Windows command line interface. But it is little bit difficult to deal with. Therefore instead of Windows CMD, we can use WebStorm Terminal to handle the MongoDB commands and all the stuff.
First of all there should be two requirements to begin with this process.
- MongoDB should be properly install to the computer and MongoDB bin folder path should be set as environment variable.
- WebStorm should be completely install to your machine.(download link:- https://www.jetbrains.com/webstorm/download/#section=windows)
There are simple three steps to do .
- install Mongo Explorer plugin to the Webstorme IDE
+ Go to Files >Settings>Browse repositories.
+ Search for 'Mongo' and suggestion will be appear as 'mongo plugin'. install it and
restart the WebStorm IDE.
+ Press shift key twice(shift+shift). then you can see this kind of search option.
+ Then search for 'Mongo Explorer'. and click on the suggestion and go to
mongo Settings.
click on '+' button.
+ Give 'localhost' as the Label and click OK.
+ Then click OK and APPLY in the Settings window.
- Start MongoDB
(only if MongoDB bin folder path is set as environment variable.)
- Start MongoDB in WebStorm.
+ Right click on the localhost icon and click on 'Connect to this server'.
like this you can handle the MongoDB by using the WebStorm IDE.
- Note :-
If you need to get backup of a collection in MongoDB, please refer to this question in the stack over flow.
http://stackoverflow.com/questions/44054673/how-to-get-backup-of-collection-in-mongodb




Comments
Post a Comment