1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2025-11-08 14:47:28 +00:00

Update README.md with MongoDB config

Added db folder creation command and permission config.
Thanks @Bigbrd
This commit is contained in:
Renato
2018-02-01 11:47:07 -02:00
committed by GitHub
parent 747d774d70
commit 4c3a139ddc

View File

@@ -17,6 +17,13 @@ git clone --depth=1 https://github.com/Microsoft/TypeScript-Node-Starter.git <pr
cd <project_name>
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