From e90fae04f977ccbcf14d5141276d0729bcb9e15a Mon Sep 17 00:00:00 2001 From: Zubeen Tolani Date: Mon, 23 Jan 2017 03:07:43 +0530 Subject: [PATCH 1/4] Add install instructions for root user --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ecc41bb790..b3ce71bf93 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,8 @@ The fastest and easiest way to get started is to run MongoDB and Parse Server lo ### Locally ``` -$ npm install -g parse-server mongodb-runner +$ # root user will have to use "npm install --unsafe-perm" instead of "npm install" +$ npm install -g parse-server mongodb-runner $ mongodb-runner start $ parse-server --appId APPLICATION_ID --masterKey MASTER_KEY --databaseURI mongodb://localhost/test ``` From d9bdaa011f72767830e47ceebbdbcde08a8f09a6 Mon Sep 17 00:00:00 2001 From: Zubeen Tolani Date: Sun, 5 Feb 2017 00:42:12 +0530 Subject: [PATCH 2/4] Reword the comment --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b3ce71bf93..04f35f705c 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ The fastest and easiest way to get started is to run MongoDB and Parse Server lo ### Locally ``` -$ # root user will have to use "npm install --unsafe-perm" instead of "npm install" +$ # If the user has enough permissions to install global modules, use "--unsafe-perm" option with npm $ npm install -g parse-server mongodb-runner $ mongodb-runner start $ parse-server --appId APPLICATION_ID --masterKey MASTER_KEY --databaseURI mongodb://localhost/test From 88d843da20b3cad29c4192bcd912f299fcd43210 Mon Sep 17 00:00:00 2001 From: ZeekHuge Date: Thu, 23 Feb 2017 22:12:44 +0530 Subject: [PATCH 3/4] Update README.md Commit adds a reference to solve the EACCES error while installation. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 04f35f705c..2c36b1fc02 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,12 @@ The fastest and easiest way to get started is to run MongoDB and Parse Server lo ### Locally ``` -$ # If the user has enough permissions to install global modules, use "--unsafe-perm" option with npm $ 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 ``` From bd8c3a342e0e1344f8d4f72724a0cee4b33d2f5e Mon Sep 17 00:00:00 2001 From: Arthur Cinader Date: Mon, 27 Mar 2017 13:39:47 -0700 Subject: [PATCH 4/4] remove trailing whitespace --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fb1aa06442..c2865744aa 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ The fastest and easiest way to get started is to run MongoDB and Parse Server lo ### Locally ``` -$ npm install -g parse-server mongodb-runner +$ npm install -g parse-server mongodb-runner $ mongodb-runner start $ parse-server --appId APPLICATION_ID --masterKey MASTER_KEY --databaseURI mongodb://localhost/test ```