28 lines
440 B
Plaintext
28 lines
440 B
Plaintext
reposearch
|
|
----------
|
|
|
|
create a .env file:
|
|
|
|
GITEA_SITE=https://example.com
|
|
GITEA_SITE_NAME=Human Friendly Name
|
|
|
|
|
|
run
|
|
make
|
|
|
|
you will need to great an access token in gitea account settings (/user/settings/applications) with `repo` scope ticked
|
|
|
|
you may also need to set CORS origin header for gitea. nginx example:
|
|
|
|
server {
|
|
location / {
|
|
add_header Access-Control-Allow-Origin "https://<REPOSEARCH-DOMAIN>";
|
|
|
|
...
|
|
}
|
|
|
|
...
|
|
}
|
|
|
|
|