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.
This commit is contained in:
Ahmedur Rahman Shovon
2017-01-05 15:09:35 +06:00
committed by GitHub
parent 62aecda2a7
commit b5e140923b

View File

@ -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: <code>cd ~/workspace</code>.",
"You can view this Node School module's source code on GitHub at <a href='https://github.com/evanlucas/learnyoumongo'>https://github.com/evanlucas/learnyoumongo</a>.",
"Complete \"Mongod\"",
"Complete \"Connect\"<br><br><strong>Note:</strong> Use the command <code>mongod --port 27017</code> in place of <code>mongod --port 27017 --dbpath=./data</code> to avoid a duplicate parameter error.<br><br><code>--dbpath=./data</code> is already included in the <code>./mongod</code> command.",
"Complete \"Connect\"<br><br><strong>Note:</strong> Use the command <code>mongod --port 27017 --smallfiles</code> in place of <code>mongod --port 27017 --dbpath=./data</code> to avoid a duplicate parameter error.<br><br><code>--dbpath=./data</code> is already included in the <code>./mongod</code> command.",
"Complete \"Find\"",
"Complete \"Find Project\"",
"Complete \"Insert\"",