mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
docs: 📝 pm2 logrotate
This commit is contained in:
parent
2c85e5cc98
commit
c73e6bc433
11
README.md
11
README.md
@ -116,6 +116,17 @@ corepack prepare pnpm@latest --activate
|
|||||||
pnpm i # --no-optional
|
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
|
## 🐘 Create database
|
||||||
|
|
||||||
Assuming you set up PostgreSQL correctly, all you have to run is:
|
Assuming you set up PostgreSQL correctly, all you have to run is:
|
||||||
|
Loading…
Reference in New Issue
Block a user