Skip to content

Commit

Permalink
Update README.md based on 2nd review of PR #143
Browse files Browse the repository at this point in the history
  • Loading branch information
Jozef Vanicky committed Feb 22, 2021
1 parent a8f6258 commit 4f91500
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ you can create your own.
a. application properties - set once in `tyr-core/src/main/resources/application.properties`. Necessary to rebuild Tyr after every adjustment of the file.\
b. system properties - passed as a parameter when starting Tyr. e.g. `-Dtyr.template.format.file=/path/to/file` (preferred option)\
c. as environment property TYR_TEMPLATE_FORMAT_FILE=/path/to/file
1. start Tyr - `java -jar tyr-webhook-core.jar` with above MP config properties set.\
(as for instance with system properties, e.g. `java -Dtyr.template.format.file="/path/to/file"tyr.github.oauth.token="afegxh64hnxh4646..." -jar tyr-webhook-core.jar`)
1. start Tyr - `java -jar tyr-webhook-runner.jar` with above MP config properties set.\
(as for instance with system properties, e.g. `java -Dtyr.template.format.file="/path/to/file"t -Dyr.github.oauth.token="afegxh64hnxh4646..." -jar tyr-webhook-runner.jar`)
1. Expose local server instance with ngrok - https://ngrok.com/
> Here you need to expose **http** port **8080** as the default application
interface where the application runs. Consult the ngrok documentation for the
information of how to specify these arguments.
1. Add a webhook for Tyr
1. In you test-repo - go to Settings -> Webhooks -> Add webhook
1. Fill in Payload URL -> *your local exposed IP which is provided by
ngrok + **“/pull-request”*** (e. g., http://f202cf7c.ngrok.io/pull-request)
ngrok + **“/pull-request”*** (e.g., http://f202cf7c.ngrok.io/pull-request)
1. Fill in Content type -> application/json
1. Set *Let me select individual events* and check only *Pull requests*
and *Pull request review comments*
Expand Down

0 comments on commit 4f91500

Please sign in to comment.