Run rapidly dev-mongodb with batch file under windows
Well, sometimes you don't want to run your mongodb installation as a windows service, and you don't want to initiate it each and every time when you start your pc. Well under windows you can create a batch (.bat) file. It is that easy:
Open notepad
Put this line (logically change the paths)
start pathtomongod.exe --dbpath pathtodatadirectorySave as yourpreference.bat
Put where it is easy to run and done!
Written by Kornél Mergulhão Novák
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Batch
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#