From b5e140923b0870120abdb7150983d10525353600 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. --- .../03-back-end-development-certification/mongodb.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/03-back-end-development-certification/mongodb.json b/seed/challenges/03-back-end-development-certification/mongodb.json index d7beb8a281e..c8688e8000b 100644 --- a/seed/challenges/03-back-end-development-certification/mongodb.json +++ b/seed/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\"",