1
0
mirror of https://gitlab.com/packaging/gitea synced 2024-12-22 18:14:12 +00:00
gitea_packaging/README.md

32 lines
778 B
Markdown
Raw Permalink Normal View History

2020-06-21 06:35:34 +00:00
# [Gitea](https://gitea.io) Debian/Ubuntu Packages
Packages are built using [fpm](https://github.com/jordansissel/fpm/) by pushing released tags and repo is created using [Gitlabs static pages](https://morph027.gitlab.io/blog/repo-hosting-using-gitlab-pages/).
Minimum install and update tests are in place to prevent upload of broken packages.
2020-04-12 12:08:21 +00:00
### Add repo signing key to apt
2020-06-21 06:35:34 +00:00
```
2020-04-12 12:08:21 +00:00
sudo curl -sL -o /etc/apt/trusted.gpg.d/morph027-gitea.asc https://packaging.gitlab.io/gitea/gpg.key
```
### Add repo to apt
2020-06-21 06:35:34 +00:00
```
2020-04-12 12:08:21 +00:00
echo "deb [arch=amd64] https://packaging.gitlab.io/gitea gitea main" | sudo tee /etc/apt/sources.list.d/morph027-gitea.list
```
2020-06-21 06:35:34 +00:00
### Install
```
sudo apt-get update
sudo apt-get install gitea
```
### Start
```
systemctl start gitea
systemctl enable gitea
```