2022-12-02 13:52:57 +00:00
|
|
|
# Build Gitea
|
|
|
|
It's simple, Build Gitea and done. nothing special.
|
|
|
|
|
|
|
|
```shell
|
2022-12-02 14:08:30 +00:00
|
|
|
curl -L https://github.com/minoplhy/scriptbox/raw/main/build_gitea/Linux/build.sh | bash
|
2022-12-02 14:13:51 +00:00
|
|
|
```
|
2023-01-11 13:22:23 +00:00
|
|
|
or with a git tag
|
|
|
|
|
|
|
|
```shell
|
2023-11-21 12:43:59 +00:00
|
|
|
curl -L https://github.com/minoplhy/scriptbox/raw/main/build_gitea/Linux/build.sh | bash -s -- -v "v1.18.0"
|
|
|
|
```
|
|
|
|
|
|
|
|
# Arguments
|
|
|
|
|
2023-11-21 12:54:01 +00:00
|
|
|
```bash
|
2023-11-21 12:43:59 +00:00
|
|
|
v) GITEA_GIT_TAG=${OPTARG};; # Gitea Git Tag
|
|
|
|
g) GO_VERSION=${OPTARG};; # GOLANG Version
|
|
|
|
n) NODEJS_VERSION=${OPTARG};; # NodeJS Version
|
2023-11-22 14:54:02 +00:00
|
|
|
s) BUILD_STATIC="True";; # Build as Static Assets file
|
2023-01-11 13:22:23 +00:00
|
|
|
```
|
2022-12-02 14:13:51 +00:00
|
|
|
|
|
|
|
# Known Issues
|
|
|
|
|
2023-01-13 16:23:11 +00:00
|
|
|
- This script required root privileges because of dependencies installation, which is hard to avoid.
|