From 20c424d18b540e02d4dd3b3722352bf8b0cc7136 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Sun, 7 May 2023 12:35:46 -0700 Subject: [PATCH] =?UTF-8?q?docs:=20=F0=9F=93=9D=20pm2=20logrotate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index abcb29afd9..5a434e8036 100644 --- a/README.md +++ b/README.md @@ -116,6 +116,17 @@ corepack prepare pnpm@latest --activate pnpm i # --no-optional ``` +### pm2 + +To install pm2 run: + +``` +npm i -g pm2 +pm2 install pm2-logrotate +``` + +[`pm2-logrotate`](https://github.com/keymetrics/pm2-logrotate/blob/master/README.md) ensures that log files don't infinitely gather size, as Calckey produces a lot of logs. + ## 🐘 Create database Assuming you set up PostgreSQL correctly, all you have to run is: