From b67f847011aab43c4ce24418c0b9eb38b102e4f5 Mon Sep 17 00:00:00 2001 From: "Kaz Saita(raspi5)" Date: Sat, 24 Aug 2024 14:15:05 +0900 Subject: [PATCH] sync notes(auto) --- ...Raspi 4 5 にGitea Forgejoをインストール.md | 28 ++++++++++++++++--- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/content/20240215215031 Raspi 4 5 にGitea Forgejoをインストール.md b/content/20240215215031 Raspi 4 5 にGitea Forgejoをインストール.md index d946b44..5a2ae89 100644 --- a/content/20240215215031 Raspi 4 5 にGitea Forgejoをインストール.md +++ b/content/20240215215031 Raspi 4 5 にGitea Forgejoをインストール.md @@ -1,14 +1,18 @@ -# 20240215215031 Raspi 4 5にGitea Forgejoをインストール +# 20240215215031 Raspi 4 Forgejoをインストール #raspi #gitea #cloudflare +ForgejoとGiteaで、やることは同じ。適宜読みかえて実行すればよい + + +#### Forgejoとは +Giteaのfork +[Forgejo – Beyond coding. We forge.](https://forgejo.org/) + #### Giteaとは [Documentation | Gitea Documentation](https://docs.gitea.com/) Git+いろいろでgithubのような便利な機能があるやつ。 > Gitea is a painless self-hosted all-in-one software development service, it includes Git hosting, code review, team collaboration, package registry and CI/CD. It is similar to GitHub, Bitbucket and GitLab. Gitea was forked from [Gogs](http://gogs.io/) originally and almost all the code has been changed. See the [Gitea Announcement](https://blog.gitea.com/welcome-to-gitea/) blog post to read about the justification for a fork. -#### Forgejoとは -Giteaのfork -[Forgejo – Beyond coding. We forge.](https://forgejo.org/) #### アップグレード バイナリを入れかえればOK。必要ならバックアップする。 詳細はこちら: [Upgrade guide](https://forgejo.org/docs/latest/admin/upgrade/) @@ -246,6 +250,22 @@ DISABLE_REGISTRATION = true を設定しておいた。これで管理者でないと新規ユーザーが作れなくなった(はず)。 ※ forgejo stable 8.0 以降、デフォルトで勝手に作られないようになったみたい。 [#3934 - Disable self-registration by default on the install page - forgejo/forgejo - Codeberg.org](https://codeberg.org/forgejo/forgejo/pulls/3934) + +### Forgejo Runnerを追加 +Github actionsみたいなやつ。 +設定方法はここに書いてある + +[Forgejo Actions administrator guide | Forgejo – Beyond coding. We forge.](https://forgejo.org/docs/v1.20/admin/actions/) + +`app.ini`に +```ini +[actions] +ENABLED = true +``` +を追加してForgejoを再起動。 + +Runner自体は別バイナリになっているので、それをダウンロード。 + ### Ref. - [Gitea Documentation](https://docs.gitea.com/administration/reverse-proxies) - [【nginx】サブドメインの設定方法 - IT総合Wiki CWiki](https://jpn.itlibra.com/article?id=21226) \ No newline at end of file