From 09fbcab3a15218ee2924012379bdbd4e8cea2e23 Mon Sep 17 00:00:00 2001 From: Shiva Krishna Yadav <14311a05r1@sreenidhi.edu.in> Date: Wed, 18 Oct 2017 14:08:28 +0530 Subject: [PATCH 1/2] Test deploy guidelines #hacktoberfest Issue #21 --- CONTRIBUTING.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 84c6e3e82..8bcdc7b23 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,4 +1,14 @@ ## Contribution guidlines ### Testing + #### Test deploy + + +* Install [now-cli](https://zeit.co/now) using `npm i -g now` and run `now` inside the project root directory. If you are using this for the first time, follow instructions to login (requires email verification). + +* Thats it! Now the app is deployed. A link similar to https://coderplex-app-hj1vnm.now.sh is generated. Open this link to see the app live with the changes you made. + +* You can alias your now.sh deployment to PR number like `coderplex-pr-11.now.sh` by command `run now alias coderplex-pr-11.now.sh`. + +* Now, post this link in the pull request to get it accepted sooner. From d02d675fa2b813839265cf70fa9ff4acc044f191 Mon Sep 17 00:00:00 2001 From: Shiva Krishna Yadav <14311a05r1@sreenidhi.edu.in> Date: Wed, 18 Oct 2017 15:36:31 +0530 Subject: [PATCH 2/2] Update CONTRIBUTING.md --- CONTRIBUTING.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8bcdc7b23..791bc73f2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,10 +5,8 @@ #### Test deploy -* Install [now-cli](https://zeit.co/now) using `npm i -g now` and run `now` inside the project root directory. If you are using this for the first time, follow instructions to login (requires email verification). +* Install [now-cli](https://zeit.co/now) using `npm i -g now` and run `now` inside the project root directory. * Thats it! Now the app is deployed. A link similar to https://coderplex-app-hj1vnm.now.sh is generated. Open this link to see the app live with the changes you made. -* You can alias your now.sh deployment to PR number like `coderplex-pr-11.now.sh` by command `run now alias coderplex-pr-11.now.sh`. - -* Now, post this link in the pull request to get it accepted sooner. +* You can alias your now.sh deployment to PR number like `coderplex-pr-11.now.sh` by using `run now alias coderplex-pr-11.now.sh`.