From 4c3a139ddcb69e9f80e84dc1f717ec6e20adeefd Mon Sep 17 00:00:00 2001 From: Renato Date: Thu, 1 Feb 2018 11:47:07 -0200 Subject: [PATCH] Update README.md with MongoDB config Added db folder creation command and permission config. Thanks @Bigbrd --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index f452abc..6cd8a85 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,13 @@ git clone --depth=1 https://github.com/Microsoft/TypeScript-Node-Starter.git npm install ``` +- Configure your mongoDB server +``` +# create the db directory +sudo mkdir -p /data/db +# give the db correct read/write permissions +sudo chmod 777 /data/db +``` - Start your mongoDB server (you'll probably want another command prompt) ``` mongod