mirror of
https://codeberg.org/tacerus/teddit.git
synced 2025-01-09 12:52:32 +01:00
remove redis configuration from quick installation
This commit is contained in:
parent
4998ecdb8b
commit
53a153a1c8
11
README.md
11
README.md
@ -58,16 +58,7 @@ Leave ffmpeg out if you don't want video support.
|
|||||||
1. `$ cd teddit`
|
1. `$ cd teddit`
|
||||||
1. `$ npm install --no-optional`
|
1. `$ npm install --no-optional`
|
||||||
1. Edit `config.js.template` to suit your environment. After done, rename it to `config.js`.
|
1. Edit `config.js.template` to suit your environment. After done, rename it to `config.js`.
|
||||||
1. Edit `redis.conf` and set maxmemory value to suit your environment (e.g. 75% of your total RAM).\
|
|
||||||
`# nano /etc/redis/redis.conf`\
|
|
||||||
Add new lines:\
|
|
||||||
`maxmemory 2gb`\
|
|
||||||
`maxmemory-policy volatile-ttl`\
|
|
||||||
Save and exit.
|
|
||||||
1. Restart redis
|
|
||||||
For example:\
|
|
||||||
`# systemctl restart redis`
|
|
||||||
1. `$ node app.js`
|
1. `$ node app.js`
|
||||||
|
|
||||||
Teddit should be now running.
|
Teddit should be now running on.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user