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
install

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

Code Block
languagebash
titleMongo Command Example
> sudo soajs mongo install


start

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

Code Block
languagebash
titleMongo Command Example
> sudo soajs mongodbmongo start


restart

Restart the MongoDB Server on port 32017

Code Block
languagebash
titleMongo Command Example
> sudo soajs mongo restart


stop

Stop the MongoDB Server

Code Block
languagebash
titleMongo Command Example
> sudo soajs mongo stop


clean

Purgs the SOAJS data configuration sample in the MongoDB server.

Code Block
languagebash
titleMongo Command Example
> sudo soajs mongo clean


patch

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. 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