Docu review done: Fri 26 Jan 2024 04:39:26 PM CET

Table of content

Remove curent install

If you have rust/cargo installed with apt, remove it first as it is normally not on a reliable version

$ apt purge cargo rustc

Installation

Install rust from source and follow the instructions on the screen.

This can be done as your use, so no need to be root

$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Perform rust update

To perform updates of your rust setup run the following command:

$ rustup check

Install cargodeb

To be able to build deb packages with cargo, you will need to install cargo-deb as well:

$ catgo install cargo-deb

Clone repo

Now, clone the git repo of webhookey like this:

$ git clone git@nbo01-vm-gitea01.nbo01.ctpe.net:ExtRepoMirrors/webhookey.git

Checkout latest tag

Best is that you checkout the latesd tag inside the webookey git repo:

$ git checkout <tag>

Build

To only build the binary use:

$ cargo build --releases

Build package

To build now the deb package, just run the below command.

$ cargo deb

Now you will have a deb file which you can install.

Configuration

Documentation for configuration can be found therer: https://git.onders.org/finga/webhookey#configuration

There will be soon a internal one