From 0df3c9134d8d5df7fb4942a8ddb416012f0cdfc7 Mon Sep 17 00:00:00 2001 From: Tiago Garcia Date: Sun, 14 Jul 2024 22:32:17 +0100 Subject: [PATCH] Update README.md --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9876211..61a66a3 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,19 @@ Currently creating a local copy of remote files on every push ## Usage +### Run prebuilt binary + +Head over to the [Releases Page](https://github.com/TiagoRG/gh-wh-handler/releases) and download the desired binary. + +Run the application using your configuration file: +```console +/path/to/gh_wh_handler_ /path/to/config.json +``` + +You can see the config file format below. + +### Run from source + Install the dependencies: - [CrowCpp](https://crowcpp.org/master/) @@ -18,7 +31,7 @@ make Run the application using your configuration file: ```console -./gh_wh_handler /path/to/config.json +bin/gh_wh_handler /path/to/config.json ``` Note: default config file path is `/etc/gh_wh_handler/config.json`