mirror of
https://github.com/release-engineering/dist-git.git
synced 2025-02-23 23:12:55 +00:00
Update README.md
This commit is contained in:
parent
6d669cfb65
commit
830da7b444
1 changed files with 14 additions and 3 deletions
17
README.md
17
README.md
|
@ -22,10 +22,16 @@ The project is prepared to be built as an RPM package. You can easily build it o
|
||||||
#### 1. Build and Install the Package:
|
#### 1. Build and Install the Package:
|
||||||
|
|
||||||
To build the current release, use the following command in the repo directory:
|
To build the current release, use the following command in the repo directory:
|
||||||
`$ tito build --rpm`
|
|
||||||
|
```
|
||||||
|
$ tito build --rpm
|
||||||
|
```
|
||||||
|
|
||||||
Install the resulting RPM package:
|
Install the resulting RPM package:
|
||||||
`# dnf install /path/to/the-package.rpm`
|
|
||||||
|
```
|
||||||
|
# dnf install /path/to/the-package.rpm
|
||||||
|
```
|
||||||
|
|
||||||
#### 2. Configuration:
|
#### 2. Configuration:
|
||||||
|
|
||||||
|
@ -42,6 +48,7 @@ Lookaside Cache uses https communication and client authenticates with ssl clien
|
||||||
#### 3. Users and Groups:
|
#### 3. Users and Groups:
|
||||||
|
|
||||||
All DistGit users need to:
|
All DistGit users need to:
|
||||||
|
|
||||||
1. have an ssh server access with private key authentication
|
1. have an ssh server access with private key authentication
|
||||||
2. be in a *packager* group on the server
|
2. be in a *packager* group on the server
|
||||||
3. be provided with an ssl client certificate to authenticate with the lookaside cache
|
3. be provided with an ssl client certificate to authenticate with the lookaside cache
|
||||||
|
@ -49,9 +56,13 @@ All DistGit users need to:
|
||||||
#### 4. Install DistGit Web Interface:
|
#### 4. Install DistGit Web Interface:
|
||||||
|
|
||||||
Install Cgit, the web interface for Git:
|
Install Cgit, the web interface for Git:
|
||||||
`# dnf install cgit`
|
|
||||||
|
```
|
||||||
|
# dnf install cgit
|
||||||
|
```
|
||||||
|
|
||||||
And point it to the DistGit repositories:
|
And point it to the DistGit repositories:
|
||||||
|
|
||||||
```
|
```
|
||||||
# echo "project-list=/srv/git/pkgs-git-repos-list" >> /etc/cgitrc
|
# echo "project-list=/srv/git/pkgs-git-repos-list" >> /etc/cgitrc
|
||||||
# echo "scan-path=/srv/git/repositories/" >> /etc/cgitrc
|
# echo "scan-path=/srv/git/repositories/" >> /etc/cgitrc
|
||||||
|
|
Loading…
Add table
Reference in a new issue