Improving MongoDB setup for MacOS

Improving MongoDB setup for MacOS
0

#1

Hello,

I’ve seen that you are recommending to create MongoDB data folder at the root of the filesystem: How to Clone and Setup the freeCodeCamp Website on a Mac

I don’t think this is a good practice as you are creating a new system-wide folder just for freeCodeCamp’s project.

I would like to suggest to just create a data folder inside the freeCodeCamp base folder and then run mongod as mongod --dbpath=data from inside freeCodeCamp.

What do you think? How can I propose a change to the guide?

Thanks!