Skip to content

Commit

Permalink
Readmeにロケールとか環境の説明を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Jan 4, 2025
1 parent 7a94640 commit 59d3c5a
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,30 @@ Dockerの場合は最初に `memory/memory.json` に空ファイルを作って

Dockerイメージはここにある https://hub.docker.com/r/mei23/ia/

現状、Node v22ではチャートと迷路が動きません。

## フォント
一部の機能にはフォントが必要です。藍にはフォントは同梱されていないので、ご自身でフォントをインストールディレクトリに`font.ttf`という名前で設置してください。
一部の機能にはフォントが必要です。

おそらくLinux環境などではフォントをインストールすればそれなりに使用してくれるはずです。
Debian/Ubuntu系ディストリの場合
```
apt-get install -y fonts-noto
```
その際、フォントのグリフは環境変数で調整出来る可能性があります。
```shell
FC_LANG: ja
:
```

ご自身でフォントをインストールディレクトリに`font.ttf`という名前で設置することにより、特定のフォントファイルを使用することもできます。

## 時刻
定時動作系のタイムゾーンがずれる場合、サーバーの設定を変更するか環境変数などでも対処出来ます。
```shell
TZ: Asia/Tokyo
:
```

## 記憶
藍は記憶の保持にインメモリデータベースを使用しており、藍のインストールディレクトリに `memory.json` という名前で永続化されます。
Expand Down

0 comments on commit 59d3c5a

Please sign in to comment.