mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-09 06:55:18 +00:00
Update meta data of docs
This commit is contained in:
@@ -1,21 +1,15 @@
|
||||
---
|
||||
date: "2018-05-07T13:00:00+02:00"
|
||||
title: "Compared to other Git hosting"
|
||||
|
||||
slug: "comparison"
|
||||
sidebar_position: 5
|
||||
toc: false
|
||||
draft: false
|
||||
|
||||
aliases:
|
||||
- /en-us/comparison
|
||||
menu:
|
||||
sidebar:
|
||||
name: "Comparison"
|
||||
sidebar_position: 5
|
||||
parent: installation
|
||||
identifier: "comparison"
|
||||
|
||||
---
|
||||
|
||||
# Gitea compared to other Git hosting options
|
||||
# Compared to other Git hosting
|
||||
|
||||
To help decide if Gitea is suited for your needs, here is how it compares to other Git self hosted options.
|
||||
|
||||
|
||||
@@ -1,18 +1,11 @@
|
||||
---
|
||||
date: "2020-01-16"
|
||||
title: "Database Preparation"
|
||||
|
||||
slug: "database-prep"
|
||||
sidebar_position: 10
|
||||
toc: false
|
||||
draft: false
|
||||
|
||||
aliases:
|
||||
- /en-us/database-prep
|
||||
menu:
|
||||
sidebar:
|
||||
parent: "installation"
|
||||
name: "Database preparation"
|
||||
sidebar_position: 10
|
||||
identifier: "database-prep"
|
||||
---
|
||||
|
||||
# Database Preparation
|
||||
|
||||
@@ -1,18 +1,12 @@
|
||||
---
|
||||
date: "2017-06-19T12:00:00+02:00"
|
||||
title: "Installation from binary"
|
||||
|
||||
slug: "install-from-binary"
|
||||
sidebar_position: 15
|
||||
toc: false
|
||||
draft: false
|
||||
|
||||
aliases:
|
||||
- /en-us/install-from-binary
|
||||
menu:
|
||||
sidebar:
|
||||
parent: "installation"
|
||||
name: "From binary"
|
||||
sidebar_position: 15
|
||||
identifier: "install-from-binary"
|
||||
|
||||
---
|
||||
|
||||
# Installation from binary
|
||||
|
||||
@@ -1,18 +1,11 @@
|
||||
---
|
||||
date: "2016-12-01T16:00:00+02:00"
|
||||
title: "Installation from package"
|
||||
|
||||
slug: "install-from-package"
|
||||
sidebar_position: 20
|
||||
toc: false
|
||||
draft: false
|
||||
|
||||
aliases:
|
||||
- /en-us/install-from-package
|
||||
menu:
|
||||
sidebar:
|
||||
parent: "installation"
|
||||
name: "From package"
|
||||
sidebar_position: 20
|
||||
identifier: "install-from-package"
|
||||
---
|
||||
|
||||
# Official packages
|
||||
|
||||
@@ -1,18 +1,11 @@
|
||||
---
|
||||
date: "2016-12-01T16:00:00+02:00"
|
||||
title: "Installation from source"
|
||||
|
||||
slug: "install-from-source"
|
||||
sidebar_position: 30
|
||||
toc: false
|
||||
draft: false
|
||||
|
||||
aliases:
|
||||
- /en-us/install-from-source
|
||||
menu:
|
||||
sidebar:
|
||||
parent: "installation"
|
||||
name: "From source"
|
||||
sidebar_position: 30
|
||||
identifier: "install-from-source"
|
||||
---
|
||||
|
||||
# Installation from source
|
||||
|
||||
@@ -1,18 +1,11 @@
|
||||
---
|
||||
date: "2016-12-01T16:00:00+02:00"
|
||||
title: "Install on Cloud Provider"
|
||||
|
||||
slug: "install-on-cloud-provider"
|
||||
sidebar_position: 90
|
||||
toc: false
|
||||
draft: false
|
||||
|
||||
aliases:
|
||||
- /en-us/install-on-cloud-provider
|
||||
menu:
|
||||
sidebar:
|
||||
parent: "installation"
|
||||
name: "On cloud provider"
|
||||
sidebar_position: 90
|
||||
identifier: "install-on-cloud-provider"
|
||||
---
|
||||
|
||||
# Installation on Cloud Provider
|
||||
|
||||
@@ -1,21 +1,14 @@
|
||||
---
|
||||
date: "2020-03-19T19:27:00+02:00"
|
||||
title: "Install on Kubernetes"
|
||||
|
||||
slug: "install-on-kubernetes"
|
||||
sidebar_position: 80
|
||||
toc: false
|
||||
draft: false
|
||||
|
||||
aliases:
|
||||
- /en-us/install-on-kubernetes
|
||||
menu:
|
||||
sidebar:
|
||||
parent: "installation"
|
||||
name: "Kubernetes"
|
||||
sidebar_position: 80
|
||||
identifier: "install-on-kubernetes"
|
||||
---
|
||||
|
||||
# Installation with Helm (on Kubernetes)
|
||||
# Install on Kubernetes
|
||||
|
||||
Gitea provides a Helm Chart to allow for installation on kubernetes.
|
||||
|
||||
|
||||
@@ -1,21 +1,14 @@
|
||||
---
|
||||
date: "2017-07-21T12:00:00+02:00"
|
||||
title: "Run as service in Linux"
|
||||
|
||||
slug: "linux-service"
|
||||
sidebar_position: 40
|
||||
toc: false
|
||||
draft: false
|
||||
|
||||
aliases:
|
||||
- /en-us/linux-service
|
||||
menu:
|
||||
sidebar:
|
||||
parent: "installation"
|
||||
name: "Linux service"
|
||||
sidebar_position: 40
|
||||
identifier: "linux-service"
|
||||
---
|
||||
|
||||
### Run Gitea as Linux service
|
||||
# Run as Linux service
|
||||
|
||||
You can run Gitea as service, using either systemd or supervisor. The steps below tested on Ubuntu 16.04, but those should work on any Linux distributions (with little modification).
|
||||
|
||||
|
||||
@@ -1,18 +1,12 @@
|
||||
---
|
||||
date: "2021-09-02T16:00:00+08:00"
|
||||
title: "Upgrade from an old Gitea"
|
||||
|
||||
slug: "upgrade-from-gitea"
|
||||
sidebar_position: 100
|
||||
toc: false
|
||||
draft: false
|
||||
|
||||
aliases:
|
||||
- /en-us/upgrade-from-gitea
|
||||
menu:
|
||||
sidebar:
|
||||
parent: "installation"
|
||||
name: "Upgrade From Old Gitea"
|
||||
sidebar_position: 100
|
||||
identifier: "upgrade-from-gitea"
|
||||
|
||||
---
|
||||
|
||||
# Upgrade from an old Gitea
|
||||
|
||||
@@ -1,18 +1,11 @@
|
||||
---
|
||||
date: "2016-12-01T16:00:00+02:00"
|
||||
title: "Upgrade from Gogs"
|
||||
|
||||
slug: "upgrade-from-gogs"
|
||||
sidebar_position: 101
|
||||
toc: false
|
||||
draft: false
|
||||
|
||||
aliases:
|
||||
- /en-us/upgrade-from-gogs
|
||||
menu:
|
||||
sidebar:
|
||||
parent: "installation"
|
||||
name: "Upgrade From Gogs"
|
||||
sidebar_position: 101
|
||||
identifier: "upgrade-from-gogs"
|
||||
---
|
||||
|
||||
# Upgrade from Gogs
|
||||
|
||||
@@ -1,21 +1,14 @@
|
||||
---
|
||||
date: "2016-12-21T15:00:00-02:00"
|
||||
title: "Register as a Windows Service"
|
||||
slug: "windows-service"
|
||||
sidebar_position: 50
|
||||
toc: false
|
||||
draft: false
|
||||
aliases:
|
||||
- /en-us/windows-service
|
||||
menu:
|
||||
sidebar:
|
||||
parent: "installation"
|
||||
name: "Windows Service"
|
||||
sidebar_position: 50
|
||||
identifier: "windows-service"
|
||||
---
|
||||
|
||||
# Prerequisites
|
||||
# Register as a Windows Service
|
||||
|
||||
## Prerequisites
|
||||
|
||||
The following changes are made in C:\gitea\custom\conf\app.ini:
|
||||
|
||||
@@ -27,7 +20,7 @@ Sets Gitea to run as the local system user.
|
||||
|
||||
COMPUTERNAME is whatever the response is from `echo %COMPUTERNAME%` on the command line. If the response is `USER-PC` then `RUN_USER = USER-PC$`
|
||||
|
||||
## Use absolute paths
|
||||
### Use absolute paths
|
||||
|
||||
If you use SQLite3, change the `PATH` to include the full path:
|
||||
|
||||
@@ -36,7 +29,7 @@ If you use SQLite3, change the `PATH` to include the full path:
|
||||
PATH = c:/gitea/data/gitea.db
|
||||
```
|
||||
|
||||
# Register as a Windows Service
|
||||
## Register as a Windows Service
|
||||
|
||||
To register Gitea as a Windows service, open a command prompt (cmd) as an Administrator,
|
||||
then run the following command:
|
||||
@@ -51,7 +44,7 @@ Open "Windows Services", search for the service named "gitea", right-click it an
|
||||
"Run". If everything is OK, Gitea will be reachable on `http://localhost:3000` (or the port
|
||||
that was configured).
|
||||
|
||||
## Service startup type
|
||||
### Service startup type
|
||||
|
||||
It was observed that on loaded systems during boot Gitea service may fail to start with timeout records in Windows Event Log.
|
||||
In that case change startup type to `Automatic-Delayed`. This can be done during service creation, or by running config command
|
||||
@@ -60,7 +53,7 @@ In that case change startup type to `Automatic-Delayed`. This can be done during
|
||||
sc.exe config gitea start= delayed-auto
|
||||
```
|
||||
|
||||
## Adding startup dependencies
|
||||
### Adding startup dependencies
|
||||
|
||||
To add a startup dependency to the Gitea Windows service (eg Mysql, Mariadb), as an Administrator, then run the following command:
|
||||
|
||||
@@ -70,7 +63,7 @@ sc.exe config gitea depend= mariadb
|
||||
|
||||
This will ensure that when the Windows machine restarts, the automatic starting of Gitea is postponed until the database is ready and thus mitigate failed startups.
|
||||
|
||||
## Unregister as a service
|
||||
### Unregister as a service
|
||||
|
||||
To unregister Gitea as a service, open a command prompt (cmd) as an Administrator and run:
|
||||
|
||||
|
||||
@@ -1,21 +1,12 @@
|
||||
---
|
||||
date: "2020-02-09T20:00:00+02:00"
|
||||
title: "Installation with Docker (rootless)"
|
||||
slug: "install-with-docker-rootless"
|
||||
sidebar_position: 60
|
||||
toc: false
|
||||
draft: false
|
||||
aliases:
|
||||
- /en-us/install-with-docker-rootless
|
||||
menu:
|
||||
sidebar:
|
||||
parent: "installation"
|
||||
name: "With Docker Rootless"
|
||||
sidebar_position: 60
|
||||
identifier: "install-with-docker-rootless"
|
||||
---
|
||||
|
||||
# Installation with Docker
|
||||
# Installation with Docker (rootless)
|
||||
|
||||
Gitea provides automatically updated Docker images within its Docker Hub organization. It is
|
||||
possible to always use the latest stable tag or to use another service that handles updating
|
||||
|
||||
@@ -1,18 +1,11 @@
|
||||
---
|
||||
date: "2020-03-19T19:27:00+02:00"
|
||||
title: "Installation with Docker"
|
||||
|
||||
slug: "install-with-docker"
|
||||
sidebar_position: 70
|
||||
toc: false
|
||||
draft: false
|
||||
|
||||
aliases:
|
||||
- /en-us/install-with-docker
|
||||
menu:
|
||||
sidebar:
|
||||
parent: "installation"
|
||||
name: "With Docker"
|
||||
sidebar_position: 70
|
||||
identifier: "install-with-docker"
|
||||
---
|
||||
|
||||
# Installation with Docker
|
||||
|
||||
Reference in New Issue
Block a user