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

console

mongo module


OPERATIONDescription
install

Creates the configuration file, the log file & the data folder that the MongoDB server requires on your machine so it can functions

Code Block
languagebash
titleMongo Command Example
> sudo soajs mongo install


start

Starts 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 the MongoDB Server

Code Block
languagebash
titleMongo Command Example
> sudo soajs mongo stop


clean

Purges the SOAJS data configuration sample in the MongoDB server.

Code Block
languagebash
titleMongo Command Example
> sudo soajs mongo clean


patch

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