mirror of
https://codeberg.org/tacerus/teddit.git
synced 2025-01-09 12:52:32 +01:00
add info about redis
This commit is contained in:
parent
9531e5527d
commit
c1cb6261a1
@ -51,15 +51,14 @@ Community instances:
|
|||||||
1. Install [node.js](https://nodejs.org/en/)\
|
1. Install [node.js](https://nodejs.org/en/)\
|
||||||
For example:\
|
For example:\
|
||||||
`# curl -sL https://deb.nodesource.com/setup_14.x | bash - && apt-get install -y nodejs`
|
`# curl -sL https://deb.nodesource.com/setup_14.x | bash - && apt-get install -y nodejs`
|
||||||
1. Install [redis-server](https://redis.io/) and [ffmpeg](https://ffmpeg.org/)\
|
1. It's highly recommended that you install [redis-server](https://redis.io/) because it works as a cache for Reddit API calls. If you want to support videos, install [ffmpeg](https://ffmpeg.org/)\
|
||||||
For example:\
|
For example:\
|
||||||
`# apt install redis-server ffmpeg`\
|
`# apt install redis-server ffmpeg`\
|
||||||
Leave ffmpeg out if you don't want video support.
|
|
||||||
1. `$ git clone https://codeberg.org/teddit/teddit`
|
1. `$ git clone https://codeberg.org/teddit/teddit`
|
||||||
1. `$ cd teddit`
|
1. `$ cd teddit`
|
||||||
1. `$ npm install --no-optional`
|
1. `$ npm install --no-optional`
|
||||||
1. Copy `config.js.template` to `config.js` and then edit it to suit your environment.
|
1. Copy `config.js.template` to `config.js` and then edit it to suit your environment.
|
||||||
1. `$ node app.js`
|
1. `$ npm start`
|
||||||
|
|
||||||
Teddit should be now running.
|
Teddit should be now running.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user