Add install instructions for root user (#3419)

* Add install instructions for root user

* Reword the comment

* Update README.md

Commit adds a reference to solve the EACCES error while installation.

* remove trailing whitespace
This commit is contained in:
Zubeen Tolani
2017-03-28 03:00:55 +05:30
committed by Arthur Cinader
parent 7a43faa49c
commit a54f4d43fa

View File

@@ -24,6 +24,8 @@ $ npm install -g parse-server mongodb-runner
$ mongodb-runner start
$ parse-server --appId APPLICATION_ID --masterKey MASTER_KEY --databaseURI mongodb://localhost/test
```
***Note:*** *If installation with* `-g` *fails due to permission problems* (`npm ERR! code 'EACCES'`), *please refer to [this link](https://docs.npmjs.com/getting-started/fixing-npm-permissions).*
### Inside a Docker container
```