Skip to content

Commit

Permalink
Deploy to Heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
mars committed Mar 13, 2019
1 parent a103dda commit c4b193a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,24 @@ A simple web listener that logs complete HTTP requests for inspection.
Usage
-----

[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)

Once deployed, follow the Heroku app logs using the [CLI](https://devcenter.heroku.com/articles/heroku-cli) to inspect incoming requests:

```bash
heroku logs --tail --app $APP_NAME
```

### Local Usage

Clone this repo, then inside of it:

```
npm install
npm start
PORT=3333 npm start
```

Then, watch the output as requests arrive:
Then, watch the output to inspect incoming requests:

```
> [email protected] start /Users/mars.hall/Projects/reqinspeq
Expand Down
10 changes: 10 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "reqinspeq",
"description": "A simple web listener that logs complete HTTP requests for inspection",
"keywords": [
"http",
"debug",
"tools"
],
"repository": "https://github.com/mars/reqinspeq.git"
}

0 comments on commit c4b193a

Please sign in to comment.