diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2023-04-06 17:06:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-06 11:06:32 +0200 |
commit | 5cb394ff2fb93935b90493894b97371734f1384e (patch) | |
tree | e69deb0000eaaf0d18fa77f9c812ec5439195c34 /docs/content/doc/installation | |
parent | bac9c06880a5990c7f71b5fbafaf6d75fdecf0d6 (diff) | |
download | gitea-5cb394ff2fb93935b90493894b97371734f1384e.tar.gz gitea-5cb394ff2fb93935b90493894b97371734f1384e.zip |
Adjust some documentations titles (#23941)
As title.
Diffstat (limited to 'docs/content/doc/installation')
4 files changed, 31 insertions, 27 deletions
diff --git a/docs/content/doc/installation/comparison.en-us.md b/docs/content/doc/installation/comparison.en-us.md index 819af95be9..d372d1f9ec 100644 --- a/docs/content/doc/installation/comparison.en-us.md +++ b/docs/content/doc/installation/comparison.en-us.md @@ -1,6 +1,6 @@ --- date: "2018-05-07T13:00:00+02:00" -title: "Gitea compared to other Git hosting options" +title: "Compared to other Git hosting" slug: "comparison" weight: 5 toc: false diff --git a/docs/content/doc/installation/database-preparation.en-us.md b/docs/content/doc/installation/database-preparation.en-us.md index 1b86df978a..edad89b07c 100644 --- a/docs/content/doc/installation/database-preparation.en-us.md +++ b/docs/content/doc/installation/database-preparation.en-us.md @@ -15,7 +15,7 @@ menu: # Database Preparation -You need a database to use Gitea. Gitea supports PostgreSQL (>=10), MySQL (>=5.7), SQLite, and MSSQL (>=2008R2 SP3). This page will guide into preparing database. Only PostgreSQL and MySQL will be covered here since those database engines are widely-used in production. +You need a database to use Gitea. Gitea supports PostgreSQL (>=10), MySQL (>=5.7), SQLite, and MSSQL (>=2008R2 SP3). This page will guide into preparing database. Only PostgreSQL and MySQL will be covered here since those database engines are widely-used in production. If you plan to use SQLite, you can ignore this chapter. Database instance can be on same machine as Gitea (local database setup), or on different machine (remote database). diff --git a/docs/content/doc/installation/from-package.en-us.md b/docs/content/doc/installation/from-package.en-us.md index c9df0d21be..2615b7d27d 100644 --- a/docs/content/doc/installation/from-package.en-us.md +++ b/docs/content/doc/installation/from-package.en-us.md @@ -13,12 +13,25 @@ menu: identifier: "install-from-package" --- -# Installation from package - **Table of Contents** {{< toc >}} +# Official packages + +## macOS + +Currently, the only supported method of installation on MacOS is [Homebrew](http://brew.sh/). +Following the [deployment from binary]({{< relref "from-binary.en-us.md" >}}) guide may work, +but is not supported. To install Gitea via `brew`: + +``` +brew tap gitea/tap https://gitea.com/gitea/homebrew-gitea +brew install gitea +``` + +# Unofficial packages + ## Alpine Linux Alpine Linux has [Gitea](https://pkgs.alpinelinux.org/packages?name=gitea&branch=edge) in its community repository which follows the latest stable version. @@ -74,17 +87,6 @@ choco install gitea Or follow the [deployment from binary]({{< relref "from-binary.en-us.md" >}}) guide. -## macOS - -Currently, the only supported method of installation on MacOS is [Homebrew](http://brew.sh/). -Following the [deployment from binary]({{< relref "from-binary.en-us.md" >}}) guide may work, -but is not supported. To install Gitea via `brew`: - -``` -brew tap gitea/tap https://gitea.com/gitea/homebrew-gitea -brew install gitea -``` - ## FreeBSD A FreeBSD port `www/gitea` is available. To install the pre-built binary package: @@ -108,7 +110,7 @@ is in `/usr/local/etc/rc.d/gitea`. To enable Gitea to run as a service, run `sysrc gitea_enable=YES` and start it with `service gitea start`. -## Third-party +## Others Various other third-party packages of Gitea exist. To see a curated list, head over to [awesome-gitea](https://gitea.com/gitea/awesome-gitea/src/branch/master/README.md#user-content-packages). diff --git a/docs/content/doc/installation/from-package.zh-cn.md b/docs/content/doc/installation/from-package.zh-cn.md index 93d3c125d5..e3ed3aa371 100644 --- a/docs/content/doc/installation/from-package.zh-cn.md +++ b/docs/content/doc/installation/from-package.zh-cn.md @@ -13,12 +13,23 @@ menu: identifier: "install-from-package" --- -# 使用包管理器安装 - **目录** {{< toc >}} +# 官方包管理器 + +## macOS + +macOS 平台下当前我们仅支持通过 `brew` 来安装。如果你没有安装 [Homebrew](http://brew.sh/),你也可以查看 [从二进制安装]({{< relref "from-binary.zh-cn.md" >}})。在你安装了 `brew` 之后, 你可以执行以下命令: + +``` +brew tap gitea/tap https://gitea.com/gitea/homebrew-gitea +brew install gitea +``` + +# 非官方包管理器 + ## Alpine Linux Gitea 已经包含在 Alpine Linux 的[社区存储库](https://pkgs.alpinelinux.org/packages?name=gitea&branch=edge)中,版本与 Gitea 官方保持同步。 @@ -66,15 +77,6 @@ choco install gitea 你也可以 [从二进制安装]({{< relref "from-binary.zh-cn.md" >}}) 。 -## macOS - -macOS 平台下当前我们仅支持通过 `brew` 来安装。如果你没有安装 [Homebrew](http://brew.sh/),你也可以查看 [从二进制安装]({{< relref "from-binary.zh-cn.md" >}})。在你安装了 `brew` 之后, 你可以执行以下命令: - -``` -brew tap gitea/tap https://gitea.com/gitea/homebrew-gitea -brew install gitea -``` - ## FreeBSD 可以使用 Gitea 的 FreeBSD port `www/gitea`。 请安装预构建的二进制包: |