Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction


The following page describes the mongo module manual.


Below is the list of all operations for the mongo module


OPERATIONDescription
installCreates

Create the configuration file, the log file & the data folder that

the

MongoDB server requires on your

machine so it can functions

local machine in order to function

Code Block
languagebash
titleMongo Command Example
> sudo soajs mongo install


start

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

Code Block
languagebash
titleMongo Command Example
> sudo soajs mongodb start


restart

Restart the MongoDB Server on port 32017

Code Block
languagebash
titleMongo Command Example
> sudo soajs mongo restart


stop

Stops Stop the MongoDB Server

Code Block
languagebash
titleMongo Command Example
> sudo soajs mongo stop


clean

Purges Purgs the SOAJS data configuration sample in the MongoDB server.

Code Block
languagebash
titleMongo Command Example
> sudo soajs mongo clean


patch

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

Code Block
languagebash
titleMongo Command Example
> sudo soajs mongo patch


setPort

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

Code Block
languagebash
titleMongo Command Example
> sudo soajs mongo setPort 32017