From 7987b25f66013fd13e7df902755686df0b007711 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 17 Mar 2022 17:09:53 +0100 Subject: [PATCH] Add alternative installation methods --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index a1f5cfa..97371b4 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,30 @@ considered as a release version and current working version is numbered using ''git describe --tags'' command. # Installation + +## Dependencies ``` apt install git python3-git +``` + +## Using git +``` git clone https://gogs.zionetrix.net/bn8/gitdch.git /usr/local/src/gitdch ln -s /usr/local/src/gitdch/gitdch /usr/local/bin/gitdch ``` +## Using wget +``` +wget -O /usr/local/bin/gitdch https://gogs.zionetrix.net/bn8/gitdch/raw/master/gitdch +chmod +x /usr/local/bin/gitdch +``` + +## Using curl +``` +curl -o /usr/local/bin/gitdch https://gogs.zionetrix.net/bn8/gitdch/raw/master/gitdch +chmod +x /usr/local/bin/gitdch +``` + # Usage ``` usage: gitdch [-h] [-d] [-v] [-w] [-l LOGFILE] [-q] [-p GIT_PATH] [-o OUTPUT] [-n PACKAGE_NAME] [-V VERSION] [--version-suffix VERSION_SUFFIX] [-c CODE_NAME] [-u URGENCY]