how-to-setup-and-use-gitea-from-nife-deploy


title: "How to Set Up and Use Gitea on Nife Deploy" description: "Learn how to deploy and use Gitea, a lightweight self-hosted Git service, on Oikos OpenHub with Nife Deploy. This step-by-step guide helps you manage repositories, users, and projects effortlessly."

keywords: [Gitea, self-hosted Git, GitHub alternative, GitLab alternative, code hosting, Oikos, Nife, OpenHub, DevOps, repository management, application deployment]#

Gitea is a lightweight self-hosted Git service, similar to GitHub or GitLab, designed to host your Git repositories privately or for teams.
It’s fast, simple, and easy to deploy.
With Nife Deploy, you can launch Gitea in just a few clicks.


How to Deploy Gitea on Oikos#

Access the Platform#

Navigate to OpenHub#

  • On the sidebar, click on OpenHub to explore available applications.

Search for the App#

  • In the OpenHub search bar, type Gitea.
  • Locate the Gitea application from the search results.

Start Deployment#

  • Hover over the Gitea app card.
  • Click Deploy.

Wait for Deployment Completion#

  • The deployment process takes a few moments.
  • Once finished, the app status will show as Running, and you’ll see an Open App button.

Accessing Gitea#

  • Click Open App to launch Gitea in your browser.
  • The web interface will prompt you to set up your admin account and initial repositories.

Official Documentation#

Learn more about Gitea:
https://gitea.com/


How to Use Gitea#

Once your Gitea app is deployed and running:

1. Set Up Admin Account#

  • On first launch, create the admin account with a username, email, and password.
  • This account can manage users, repositories, and system settings.

2. Create Your First Repository#

  • Click New Repository.
  • Enter the repository name, description, and select public/private visibility.
  • You can initialize it with a README if desired.

3. Invite Team Members#

  • Go to Settings → Collaborators & Teams.
  • Add users and assign roles: Admin, Write, or Read.
  • Collaborators can now push/pull code to your repository.

4. Manage Repositories#

  • Features include:
    • Git clone/push/pull support
    • Branch management
    • Pull requests and issues
    • Web-based code editor

5. Configure Webhooks & Integrations#

  • Set up CI/CD integrations or notifications via webhooks.
  • Common integrations include Jenkins, GitHub Actions, and Discord/Slack notifications.

6. Backup and Restore#

  • Gitea stores data in /data by default (or the volume you set in deployment).
  • Regularly back up the volume to prevent data loss.

7. Advanced Settings#

  • Configure server options, authentication methods (OAuth, LDAP), and email notifications in Admin Panel → Configuration.

With these steps, you can deploy Gitea on Nife Deploy, create and manage repositories, collaborate with your team, and integrate CI/CD pipelines — all within a private, self-hosted environment.