28 lines
456 B
Plaintext
28 lines
456 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 `repository` and `user` read access
|
|
|
|
you may also need to set CORS origin header for gitea. nginx example:
|
|
|
|
server {
|
|
location / {
|
|
add_header Access-Control-Allow-Origin "https://<REPOSEARCH-DOMAIN>";
|
|
|
|
...
|
|
}
|
|
|
|
...
|
|
}
|
|
|
|
|