sync notes(auto)

This commit is contained in:
Kaz Saita(raspi5) 2024-04-07 16:30:05 +09:00
parent ade3b641a2
commit 30a1821365

View file

@ -3,7 +3,7 @@
[Umami](https://umami.is/) はアクセス解析。cookieとかを使わない。
ここに書いてある通りにやる: [Docs: Installation Umami](https://umami.is/docs/install)
ここに書いてある通りにやる: [Docs: Installation Umami](https://umami.is/docs/install) が、gitではなく。リリー
データベースは MariaDBを入れた: [[20240324102510 MySQL MariaDBのインストール]]
@ -28,7 +28,7 @@ Aborted
```
$ sudo npm install -g yarn
$ git clone https://github.com/umami-software/umami.git
$ wget https://github.com/umami-software/umami/archive/refs/tags/v2.11.0.tar.gz
$ cd umami
$ npm i
```
@ -60,6 +60,11 @@ npm ERR! /home/kazbo/.npm/_logs/2024-04-07T07_05_54_650Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: /home/kazbo/.npm/_logs/2024-04-07T07_05_54_650Z-debug-0.log
```
```
$ npm i --force --ignore-scripts
```
で最後までいけた。
umamiのディレクトリ内で.envファイルを作成。 umami_dbは↑で作成した名前
```
DATABASE_URL=mysql://[username]:[password]@localhost:3306/umami_db