sync notes(auto)
This commit is contained in:
parent
7973e5273b
commit
1deb9e2fa0
2 changed files with 12 additions and 9 deletions
|
@ -3,6 +3,10 @@
|
||||||
#capture
|
#capture
|
||||||
|
|
||||||
## 概要
|
## 概要
|
||||||
discordに何か書くと、自動的にobsidianのvaultに新しい記事が作成される。とても便利。
|
discordに何か書くと、自動的にobsidianのvaultに新しい記事が作成される。とても便利。pythonで書いてある。
|
||||||
|
|
||||||
![[なんでもcaptureシステムの図解.jpg]]
|
![[なんでもcaptureシステムの図解.jpg]]
|
||||||
|
## 配布
|
||||||
|
|
||||||
|
- [kazbo/capture\_bot\_san - Kinoshita Lab Git: All your base are belong to us](https://git.kinoshita-lab.org/kazbo/capture_bot_san)
|
||||||
|
- (mirror) [kazbo/capture\_bot\_san - Codeberg.org](https://codeberg.org/kazbo/capture_bot_san)
|
|
@ -7,11 +7,6 @@
|
||||||
giteaが動いている前提。 cf. [[20240215215031 Raspi4にGiteaをインストール|Raspi4にGiteaをインストール]]
|
giteaが動いている前提。 cf. [[20240215215031 Raspi4にGiteaをインストール|Raspi4にGiteaをインストール]]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
download:
|
download:
|
||||||
```
|
```
|
||||||
$ cd tmp
|
$ cd tmp
|
||||||
|
@ -46,7 +41,7 @@ $ sudo systemctl start gitea
|
||||||
一応 `/etc/gitea/app.ini` の [server] の `ROOT_URL`だけは `https://git.kinoshita-lab.org/`変更しておいた。
|
一応 `/etc/gitea/app.ini` の [server] の `ROOT_URL`だけは `https://git.kinoshita-lab.org/`変更しておいた。
|
||||||
|
|
||||||
|
|
||||||
外観的に落ちつかない、というか混乱しそうなので、トンネルとnginxは名前を変更した。
|
外観的に落ちつかない、というか混乱しそうなので、トンネルとnginxとservice名前を変更した。
|
||||||
```
|
```
|
||||||
$ su cloudflare
|
$ su cloudflare
|
||||||
Password:
|
Password:
|
||||||
|
@ -70,7 +65,7 @@ server {
|
||||||
listen 80;
|
listen 80;
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
|
|
||||||
server_name git.kinoshita-lab.org;
|
server_name git.kinoshita-lab.org; # ここ変えた
|
||||||
|
|
||||||
# https://docs.gitea.com/administration/reverse-proxies
|
# https://docs.gitea.com/administration/reverse-proxies
|
||||||
location / {
|
location / {
|
||||||
|
@ -91,6 +86,10 @@ server {
|
||||||
$ sudo systemctl restart nginx
|
$ sudo systemctl restart nginx
|
||||||
```
|
```
|
||||||
|
|
||||||
|
20240314 バイナリ `/usr/local/bin/gitea` を やめて、 `/usr/local/bin/forgejo` に変更。これ自体は最新版バイナリのシンボリックリンク。
|
||||||
|
```
|
||||||
|
lrwxrwxrwx 1 root root 28 Mar 14 22:29 /usr/local/bin/forgejo -> forgejo-1.21.7-0-linux-arm64
|
||||||
|
```
|
||||||
## Ref.
|
## Ref.
|
||||||
- [Forgejo](https://forgejo.org/download/)
|
- [Forgejo](https://forgejo.org/download/)
|
||||||
- [[20240215215031 Raspi4にGiteaをインストール|Raspi4にGiteaをインストール]]
|
- [[20240215215031 Raspi4にGiteaをインストール|Raspi4にGiteaをインストール]]
|
Loading…
Reference in a new issue