2023-02-02 17:07:19 +00:00
|
|
|
reposearch
|
|
|
|
----------
|
|
|
|
|
|
|
|
create a .env file:
|
|
|
|
|
|
|
|
GITEA_SITE=https://example.com
|
|
|
|
GITEA_SITE_NAME=Human Friendly Name
|
|
|
|
|
|
|
|
|
|
|
|
run
|
|
|
|
make
|
2023-08-28 21:34:12 +00:00
|
|
|
|
|
|
|
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>";
|
|
|
|
|
|
|
|
...
|
|
|
|
}
|
|
|
|
|
|
|
|
...
|
|
|
|
}
|
|
|
|
|
|
|
|
|