Introduction


The following page describes the mongo module manual.


Below is the list of all operations for the mongo module


OPERATIONDescription
install

Create the configuration file, the log file & the data folder that MongoDB server requires on your local machine in order to function

> sudo soajs mongo install


start

Start the MongoDB server on port 32017 using the configuration created via the install command

> sudo soajs mongo start


restart

Restart the MongoDB Server on port 32017

> sudo soajs mongo restart


stop

Stop the MongoDB Server

> sudo soajs mongo stop


clean

Purgs the SOAJS data configuration sample in the MongoDB server.

> sudo soajs mongo clean


patch

Reset the SOAJS data configuration sample in the MongoDB server back to default.

> sudo soajs mongo patch


setPort

Change the port that the MongoDB server is configured to listen. Also updates the port value in the SOAJS Profile that the SOAJS Console uses to connect to the MongoDB Server.

> sudo soajs mongo setPort 32017