docs/BuildingMongoDB.md
Important Note:
This document is for versions 1.0 and earlier and for MongoDB 3.2.
See latest documents here: https://github.com/Studio3T/robomongo/wiki
Robomongo uses modified version of MongoDB that we call Robomongo Shell. Before you can build Robomongo, you have to build Robomongo Shell. The following instructions are applicable only for Mac OS X and Linux. For Windows instructions please check Building Robomongo on Windows.
Install Scons (2.4 or later)
Clone Robomongo Shell and checkout to roboshell-v3.2 branch:
$ git clone https://github.com/paralect/robomongo-shell.git
$ cd robomongo-shell
$ git checkout roboshell-v3.2
$ bin/build
Done! Now you can continue with Step 2 and build Robomongo with embedded MongoDB 3.2 shell (that you've just built).
The following commands are needed only if you are planning to develop or deeper understand Robomongo or Robomongo Shell build processes.
Clean build files for release mode (folder build/opt will be removed):
$ bin/clean
Here is a command that is executed by bin/build script:
$ scons mongo -j8 --release --osx-version-min=10.9
Argument --osx-version-min is required only for Mac OS.
Build MongoDB shell in debug mode:
$ scons mongo -j8 --dbg
Clear builds:
$ scons -c mongo # clears release build
$ scons -c --dbg mongo # clears debug build