MODULE - mongo

MODULE - mongo

Introduction


The following page describes the mongo module manual.



Below is the list of all operations for the mongo module


OPERATION

Description

OPERATION

Description

install

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

Mongo Command Example
> sudo soajs mongo install

start

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

Mongo Command Example
> sudo soajs mongo start

restart

Restart the MongoDB Server on port 32017

Mongo Command Example
> sudo soajs mongo restart

stop

Stop the MongoDB Server

Mongo Command Example
> sudo soajs mongo stop

clean

Purgs the SOAJS data configuration sample in the MongoDB server.

Mongo Command Example
> sudo soajs mongo clean

patch

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

Mongo Command Example
> 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.

Mongo Command Example
> sudo soajs mongo setPort 32017