diff --git a/content/20240324102024 Umamiのインストール.md b/content/20240324102024 Umamiのインストール.md index 74e07b2..05cc9b4 100644 --- a/content/20240324102024 Umamiのインストール.md +++ b/content/20240324102024 Umamiのインストール.md @@ -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