Skip to content

Commit c4b193a

Browse files
committed
Deploy to Heroku
1 parent a103dda commit c4b193a

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

README.md

+12-2
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,24 @@ A simple web listener that logs complete HTTP requests for inspection.
66
Usage
77
-----
88

9+
[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
10+
11+
Once deployed, follow the Heroku app logs using the [CLI](https://devcenter.heroku.com/articles/heroku-cli) to inspect incoming requests:
12+
13+
```bash
14+
heroku logs --tail --app $APP_NAME
15+
```
16+
17+
### Local Usage
18+
919
Clone this repo, then inside of it:
1020

1121
```
1222
npm install
13-
npm start
23+
PORT=3333 npm start
1424
```
1525

16-
Then, watch the output as requests arrive:
26+
Then, watch the output to inspect incoming requests:
1727

1828
```
1929
> reqinspeq@1.0.0 start /Users/mars.hall/Projects/reqinspeq

app.json

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "reqinspeq",
3+
"description": "A simple web listener that logs complete HTTP requests for inspection",
4+
"keywords": [
5+
"http",
6+
"debug",
7+
"tools"
8+
],
9+
"repository": "https://github.com/mars/reqinspeq.git"
10+
}

0 commit comments

Comments
 (0)