mirror of
https://github.com/microsoft/TypeScript-Node-Starter.git
synced 2025-11-08 16:17:37 +00:00
Update README.md with MongoDB config
Added db folder creation command and permission config. Thanks @Bigbrd
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user