mirror of
https://gitlab.com/packaging/gitea
synced 2024-12-18 16:13:44 +00:00
update README
This commit is contained in:
parent
25a82ff3b0
commit
22739bc014
24
README.md
24
README.md
@ -1,13 +1,31 @@
|
|||||||
# [Gitea](https://gitea.io) apt packages
|
# [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.
|
||||||
|
|
||||||
### Add repo signing key to apt
|
### Add repo signing key to apt
|
||||||
|
|
||||||
```bash
|
```
|
||||||
sudo curl -sL -o /etc/apt/trusted.gpg.d/morph027-gitea.asc https://packaging.gitlab.io/gitea/gpg.key
|
sudo curl -sL -o /etc/apt/trusted.gpg.d/morph027-gitea.asc https://packaging.gitlab.io/gitea/gpg.key
|
||||||
```
|
```
|
||||||
|
|
||||||
### Add repo to apt
|
### Add repo to apt
|
||||||
|
|
||||||
```bash
|
```
|
||||||
echo "deb [arch=amd64] https://packaging.gitlab.io/gitea gitea main" | sudo tee /etc/apt/sources.list.d/morph027-gitea.list
|
echo "deb [arch=amd64] https://packaging.gitlab.io/gitea gitea main" | sudo tee /etc/apt/sources.list.d/morph027-gitea.list
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Install
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install gitea
|
||||||
|
```
|
||||||
|
|
||||||
|
### Start
|
||||||
|
|
||||||
|
```
|
||||||
|
systemctl start gitea
|
||||||
|
systemctl enable gitea
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user