Compare commits
3 Commits
Author | SHA1 | Date |
---|---|---|
Rafi59 | c64abee4ef | |
Rafi59 | 47b1cd322c | |
Rafi59 | c4f6a7b89d |
|
@ -5,22 +5,21 @@ Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to
|
||||||
|
|
||||||
[![Integration level](https://dash.yunohost.org/integration/gitea.svg)](https://ci-apps.yunohost.org/jenkins/job/gitea%20%28Community%29/lastBuild/consoleFull)
|
[![Integration level](https://dash.yunohost.org/integration/gitea.svg)](https://ci-apps.yunohost.org/jenkins/job/gitea%20%28Community%29/lastBuild/consoleFull)
|
||||||
|
|
||||||
[![Build Status](https://srvmaison.fr.nf/jenkins/job/gitea%20(Community)%20stable/badge/icon)](https://srvmaison.fr.nf/jenkins/job/gitea%20(Community)%20stable/)
|
|
||||||
|
|
||||||
[![Install Gitea with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=gitea)
|
[![Install Gitea with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=gitea)
|
||||||
|
|
||||||
|
![](https://gitea.io/images/screenshot.png)
|
||||||
## Requirements
|
## Requirements
|
||||||
A functional instance of [YunoHost](https://yunohost.org)
|
A functional instance of [YunoHost](https://yunohost.org)
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
From the command-line:
|
From the command-line:
|
||||||
|
|
||||||
`sudo yunohost app install https://github.com/YunoHost-Apps/gitea_ynh`
|
`sudo yunohost app install https://framagit.org/YunoHost-Apps/gitea_ynh`
|
||||||
|
|
||||||
## Upgrade
|
## Upgrade
|
||||||
From the command-line:
|
From the command-line:
|
||||||
|
|
||||||
`sudo yunohost app upgrade Gitea -u https://github.com/YunoHost-Apps/gogs_ynh gogs`
|
`sudo yunohost app upgrade Gitea -u https://framagit.org/YunoHost-Apps/gitea_ynh gitea`
|
||||||
|
|
||||||
## Notes on SSH usage
|
## Notes on SSH usage
|
||||||
If you want to use Gitea with ssh and be able to pull/push with you ssh key, your ssh daemon must be properly configured to use private/public keys. Here is a sample configuration of `/etc/ssh/sshd_config` that works with Gitea:
|
If you want to use Gitea with ssh and be able to pull/push with you ssh key, your ssh daemon must be properly configured to use private/public keys. Here is a sample configuration of `/etc/ssh/sshd_config` that works with Gitea:
|
||||||
|
@ -47,7 +46,7 @@ Architecture: this package is compatible with amd64, i386 and arm. The package w
|
||||||
|
|
||||||
## Issue
|
## Issue
|
||||||
|
|
||||||
Any issue is welcome here : https://github.com/YunoHost-Apps/gitea_ynh/issues
|
Any issue is welcome here : https://framagit.org/YunoHost-Apps/gitea_ynh/issues
|
||||||
|
|
||||||
## License
|
## License
|
||||||
Gitea is published under the MIT License:
|
Gitea is published under the MIT License:
|
||||||
|
|
|
@ -16,7 +16,7 @@ FORCE_PRIVATE = false
|
||||||
[server]
|
[server]
|
||||||
DOMAIN = __DOMAIN__
|
DOMAIN = __DOMAIN__
|
||||||
HTTP_PORT = __PORT__
|
HTTP_PORT = __PORT__
|
||||||
ROOT_URL = http://__URL__/
|
ROOT_URL = https://__URL__/
|
||||||
DISABLE_SSH = false
|
DISABLE_SSH = false
|
||||||
SSH_PORT = 22
|
SSH_PORT = 22
|
||||||
OFFLINE_MODE = false
|
OFFLINE_MODE = false
|
||||||
|
|
|
@ -8,9 +8,9 @@ location __PATH__/ {
|
||||||
|
|
||||||
# Force https
|
# Force https
|
||||||
if ($scheme = http) {
|
if ($scheme = http) {
|
||||||
# rewrite ^ https://$server_name$request_uri? permanent;
|
rewrite ^ https://$server_name$request_uri? permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Include SSOWAT user panel.
|
# Include SSOWAT user panel.
|
||||||
#include conf.d/yunohost_panel.conf.inc;
|
include conf.d/yunohost_panel.conf.inc;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.4.2/gitea-1.4.2-linux-amd64
|
SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.3.3/gitea-1.3.3-linux-amd64
|
||||||
SOURCE_SUM=c843d462b5edb0d64572b148a0e814e41d069d196c3b3ee491449225e1c39d7d
|
SOURCE_SUM=4f37b280eb9dcde7820e801e51ca07682faee703c220548da2f8aa9b6adb5231
|
||||||
# (Optional) Program to check the integrity (sha256sum, md5sum...)
|
# (Optional) Program to check the integrity (sha256sum, md5sum...)
|
||||||
# default: sha256
|
# default: sha256
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
|
|
|
@ -75,7 +75,7 @@ config_nginx
|
||||||
config_gitea
|
config_gitea
|
||||||
|
|
||||||
# Install gitea
|
# Install gitea
|
||||||
wget -O gitea https://github.com/go-gitea/gitea/releases/download/v1.4.2/gitea-1.4.2-linux-amd64 $final_path/gitea
|
wget -O gitea https://github.com/go-gitea/gitea/releases/download/v1.3.3/gitea-1.3.3-linux-amd64 $final_path/gitea
|
||||||
|
|
||||||
# Set permissions
|
# Set permissions
|
||||||
set_permission
|
set_permission
|
||||||
|
|
Loading…
Reference in New Issue