1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2025-11-08 16:17:37 +00:00

Merge pull request #79 from tioback/tioback-monbodb-config

Update README.md with MongoDB config
This commit is contained in:
Bowden Kelly
2018-02-09 17:33:40 -08:00
committed by GitHub

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