Skip to content

Set up Mongo

Arnaud Declercq edited this page Dec 21, 2018 · 4 revisions

Set up software

First download and install MongoDB and build the Mongo_Toolkit.

Set the right Mongo path on your computer

  • Write path in the search field on you start menu. Open "Edit the system environment variables".

  • Open "Environment variables" window.

  • Locate "Path" variable. Open "Edit" window for that Variable.

  • Locate your MongoDB\Server\3.4\bin folder and copy that path to the System Variable. Click OK.

Set up a local Mongo Server in Explorer

  • Locate the folder where you want to set up the server. Hold shift and right click on the folder. Open command window in that folder.

  • Write "mongod --dbpath ." and press enter. You have to keep this window open to keep the server open.

Set up a local Mongo Server in Grasshopper

  • Locate the path for the folder where you want the server and copy that into the Grasshopper canvas. Plug the path into the MongoServer component. A command window pops up and automatically calls "mongod --dbpath .". You have to keep this window open to keep the server open.