Connecting Locally to MongoDB
Last updated
Was this helpful?
Last updated
Was this helpful?
You can run your Empirica experiment locally, whilst still connecting it to a cloud MongoDB database.
To do so, you need to .
As explained in the , you will need to add these elements to your settings file:
Fill in the <> parts with the appropriate elements.
Now you can run your app with:
According to your OS, follow the instructions below to connect to your MongoDB via the command line.
Run this command with the URI you have obtained but without the ?retryWrites=true&w=majority