chore: add information about installation scripts
This commit is contained in:
parent
c73bd6b942
commit
00866bcda0
2 changed files with 29 additions and 6 deletions
29
README.md
29
README.md
|
@ -2,8 +2,33 @@
|
|||
|
||||
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/) |
|
||||
|
||||
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
# go 1.20+
|
||||
# systemd
|
||||
|
||||
# Change directory to main repo (cd ahenk-go)
|
||||
# bash scripts/local-install.sh
|
||||
# wget -qO- https://git.aliberksandikci.com.tr/liderahenk/ahenk-go/raw/branch/main/scripts/install.sh | bash
|
||||
|
||||
### --> Variable Set
|
||||
REPO_NAME="ahenk-go"
|
||||
|
@ -32,10 +31,9 @@ echo -e "PRE-CLENING DONE\n"
|
|||
|
||||
|
||||
### --> Building
|
||||
cp -r ../ "$TEMP_DIR"
|
||||
cd "$TEMP_DIR" || exit
|
||||
git clone "$REPO_LINK"
|
||||
echo "$TEMP_DIR"
|
||||
git clone "$REPO_LINK"
|
||||
cd "$MAIN_DIR" || exit
|
||||
|
||||
# cmd/ahenkd-go
|
||||
|
|
Loading…
Reference in a new issue