Update readme, remove wget need

Do no longer use wget to download the file, use curl.

Check that curl and jq exists.

Update ReadMe file
This commit is contained in:
Clemens Schwaighofer
2024-08-28 12:01:16 +09:00
parent 59f2394b5c
commit 11c1daf4a1
4 changed files with 37 additions and 8 deletions

View File

@@ -1,14 +1,34 @@
# Download and install gitea
# Scripts to download and install gitea and act_runner binary files
In `init.sh` set the `target_file` as to where the gitea binary is located (full path including binary name)
Helps to install and setup the gitea and act_runner binary
## Things needed
The application "curl" and "jq" must be installed.
Both gitea and act_runner must be run a systemd control file named "gitea" and "act_runner"
## Basic setup
In `init.sh` set to the full path including the binary name:
- `target_file` as to where the gitea binary is located
- `target_file_act_runner` as to where the gitea act_runner binary is located
If the download folder should be not in the subfolder "download" change the `download_folder` variable to the path as to where the files hould be downloaded. Note that this folder must exist
## Architectures detected
Only arm64 and x86 64bit are auto detected
## Download and install: gitea
Run `download.sh` to download the latest file. Fill re-download as a different name if the same file is requested
Run `install.sh <version>` to install the newest version
There is a simple "download-act_runner" script, that has the URL as to where the action runner can be
downloaded
## Download and install: act_runner
Run `download-act_runner.sh` to download the latest file. Fill re-download as a different name if the same file is requested
Run `install-act_runner.sh <version>` to install the newest version