From dbeee7275c410393882a9bb5126fa2a5dbe4b18c Mon Sep 17 00:00:00 2001 From: Ahmedur Rahman Shovon Date: Thu, 5 Jan 2017 15:09:35 +0600 Subject: [PATCH] Updated mongodb running command in c9.io For free users, c9.io provide only 2GB memory for single workspace. But to run mongodb it requires at least 3379MB in journal. So we should use mongod --port 27017 --smallfiles to allow run mongodb within the provided 2GB memory. --- challenges/03-back-end-development-certification/mongodb.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/03-back-end-development-certification/mongodb.json b/challenges/03-back-end-development-certification/mongodb.json index d7beb8a281..c8688e8000 100644 --- a/challenges/03-back-end-development-certification/mongodb.json +++ b/challenges/03-back-end-development-certification/mongodb.json @@ -25,7 +25,7 @@ "Make sure that you are always in your project's \"workspace\" directory. You can always navigate back to this directory by running this command: cd ~/workspace.", "You can view this Node School module's source code on GitHub at https://github.com/evanlucas/learnyoumongo.", "Complete \"Mongod\"", - "Complete \"Connect\"

Note: Use the command mongod --port 27017 in place of mongod --port 27017 --dbpath=./data to avoid a duplicate parameter error.

--dbpath=./data is already included in the ./mongod command.", + "Complete \"Connect\"

Note: Use the command mongod --port 27017 --smallfiles in place of mongod --port 27017 --dbpath=./data to avoid a duplicate parameter error.

--dbpath=./data is already included in the ./mongod command.", "Complete \"Find\"", "Complete \"Find Project\"", "Complete \"Insert\"",