chore: add information about installation scripts

This commit is contained in:
Aliberk Sandıkçı 2023-08-07 08:41:35 +03:00
parent c73bd6b942
commit 00866bcda0
Signed by: asandikci
GPG key ID: 25C67A03B5666BC1
2 changed files with 29 additions and 6 deletions

View file

@ -2,8 +2,33 @@
Ahenk Agent for Liderahenk Central Management System - Go Implementation Ahenk Agent for Liderahenk Central Management System - Go Implementation
[Documentation](https://git.aliberksandikci.com.tr/Liderahenk/ahenk-docs/) You can find binary packages in [Releases](/releases) section or build from source code yourself<!-- See section [Packaging](#packaging)-->.
[Current Python Implementation](https://github.com/Pardus-LiderAhenk/ahenk/) <!-- ### Packaging
Install necessary packages
```
-
```
TODO https://github.com/Pardus-LiderAhenk/ahenk/#packaging
-->
If you do not prefer to use binary packages you can also use installation scripts <!-- TODO temporary solution, will be removed -->
Development Dependencies
```bash
go > 1.20
git
```
Install with Script
```bash
wget -qO- https://git.aliberksandikci.com.tr/liderahenk/ahenk-go/raw/branch/main/scripts/install.sh | bash
```
### Useful Links
| Explanation | Link |
| ----------- | ---- |
| Ahenk-go documentation | [Liderahenk/ahenk-docs](https://git.aliberksandikci.com.tr/Liderahenk/ahenk-docs/) |
| Current Python Implementation of Ahenk | [Pardus-LiderAhenk/ahenk](https://github.com/Pardus-LiderAhenk/ahenk/) |

View file

@ -7,8 +7,7 @@
# go 1.20+ # go 1.20+
# systemd # systemd
# Change directory to main repo (cd ahenk-go) # wget -qO- https://git.aliberksandikci.com.tr/liderahenk/ahenk-go/raw/branch/main/scripts/install.sh | bash
# bash scripts/local-install.sh
### --> Variable Set ### --> Variable Set
REPO_NAME="ahenk-go" REPO_NAME="ahenk-go"
@ -32,10 +31,9 @@ echo -e "PRE-CLENING DONE\n"
### --> Building ### --> Building
cp -r ../ "$TEMP_DIR"
cd "$TEMP_DIR" || exit cd "$TEMP_DIR" || exit
git clone "$REPO_LINK"
echo "$TEMP_DIR" echo "$TEMP_DIR"
git clone "$REPO_LINK"
cd "$MAIN_DIR" || exit cd "$MAIN_DIR" || exit
# cmd/ahenkd-go # cmd/ahenkd-go