Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

Commit 5fe2ed9

Browse files
author
Zubair Ahmed
authored
tersed the test deploy section
1 parent 1847ee1 commit 5fe2ed9

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

CONTRIBUTING.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,19 @@
55
#### Test deploy
66

77

8-
* Install [now-cli](https://zeit.co/now) using `npm i -g now` and run `now` inside the project root directory.
8+
* Install [now-cli](https://zeit.co/now)
9+
```bash
10+
$ npm i -g now
11+
```
12+
* Run now inside the project root directory
13+
```bash
14+
$ now
15+
```
16+
* After the app is deployed. Alias your generated link to *coderplex-pr-XX.now.sh*
17+
```bash
18+
$ now alias url coderplex-pr-XX
19+
```
20+
> url = generated link to website when `now` was run
921
10-
* 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.
22+
> XX = Opened pull request number
1123
12-
* You can alias your now.sh deployment to PR number like `coderplex-pr-11.now.sh` by using `run now alias <url> coderplex-pr-11.now.sh`.

0 commit comments

Comments
 (0)