A template for self-hosting Forgejo, a fork of Gitea for managing Git repositories.
This repository provides scripts and configurations to quickly deploy Forgejo on your own server. It aims to simplify and automate the installation process, providing a ready-to-use environment with minimal setup.
- Automated installation and configuration of Forgejo
- Automated create systemctl config
- Environment and database setup scripts included
- Suitable for local servers and VPS
- Uses shell scripts for installation
- Linux server (Ubuntu, Debian, RHEL, etc.)
- Bash shell
- Internet access
- Root or sudo privileges for installation
- Clone the repository:
git clone https://github.com/RowBoot-ColdHammer/forgejo-selfhost-template- Go to project dir
cd forgejo-selfhost-template- Init folders
sh ./scripts/init-dir.sh- Init linux-systemctl
sh ./scripts/init.sh- Configure database and service parameters as needed
- Start and manage Forgejo using the scripts
- Monitor and update your Forgejo service as necessary
Pull requests and suggestions are welcome.
No license specified. Use responsibly and at your own risk.
For detailed usage instructions, please refer to the scripts and documentation included in the repository.