Skip to content

barrydunne/gitea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains scripts for Gitea.

Getting started

Run Gitea

./Run-Gitea.ps1

First Run

If this is the first time running GoCD:

  1. Open Gitea at http://localhost:3000
  2. Set Server Domain to host.docker.internal
  3. Set Gitea Base URL to http://host.docker.internal:3001/ (needed for webhooks to work)
  4. Press Install Gitea and wait for the login page
  5. Click Register now
  6. Register a new user
  7. From User > Settings > Applications generate a new token for Jenkins with the following minimum permssions
    • orgnaisation Read
    • repository Read and Write
    • user Read
  8. Copy the access token that appears on the page

ALLOWED_HOST_LIST

For a webhook to work the target must be allowed.

  1. Edit the data/gitea/conf/app.ini file to include these lines:
    [webhook]
    ALLOWED_HOST_LIST = *
    
  2. Restart Gitea

About

Script for running a Gitea server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published