patrickl/forgejo

Project ID: 98340

Description

Stable releases of Forgejo, a self-hosted Git service and fork of Gitea.

Installation Instructions

$ sudo dnf copr enable patrickl/forgejo $ sudo dnf install forgejo

Edit the DOMAIN and ROOT_URL in app.ini (note that you need to do this as root hence the '#')

# sudo -u git vim /etc/forgejo/app.ini DOMAIN=git.<your_domain> ROOT_URL=https://git.<your_domain> $ sudo systemctl enable forgejo $ sudo systemctl start forgejo

Create the admin (note that you need to do this as root hence the '#')

# sudo -u git /usr/bin/forgejo -c /etc/forgejo/app.ini admin user create --admin --username <admin_username> --password <very_secure_password> --email <email_address>

Create a regular user account which you'll use to push to your Forgejo instance (note that you need to do this as root hence the '#')

# sudo -u git /usr/bin/forgejo -c /etc/forgejo/app.ini admin user create --username <username> --password <very_secure_password> --email <email_address>

Put Nginx (or Apache) in front of Forgejo as a reverse proxy

$ sudo dnf install forgejo-nginx

and checkout /etc/nginx/sites-available/forgejo_nginx_proxy.conf for an example
or

$ sudo dnf install forgejo-apache

and checkout /etc/httpd/conf.d/forgejo_apache_proxy.conf

Also look at the reverse proxy docs at Forgejo docs and Gitea docs

Backup - you need to backup these directories

/etc/forgejo/app.ini /home/git/forgejo

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
Centos-stream 9 x86_64 [modified] (58)* Centos-stream 9 (45 downloads)

* Total number of downloaded packages.