Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Setup MongoDB to save execution history

Jerry Liu edited this page Dec 23, 2015 · 2 revisions

Install MongoDB

  1. Follow instructions at https://docs.mongodb.org/v3.2/tutorial/install-mongodb-on-windows/ to install MongoDB 3.2 on WebCommander server and configure it as a Windows service

  2. Add the bin path of MongoDB (such as c:\mongodb\bin if it's installed there) into Windows system variable "PATH".

  3. Create database and collection in MongoDB for WebCommander by running the commands below:

mongo.exe
use webcmd
db.createCollection("history")

Install MongoDB Powershell module

Download the module from https://github.com/nightroman/Mdbc and save it to c:\windows\system32\windowspowershell\v1.0\modules