You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ A lemmy bot that watches rss feeds and posts new posts from them in communities
4
4
This bot is made for the https://programming.dev/ communities but the source code can be modified to accomodate any community
5
5
6
6
## Prerequisites
7
-
- You need to have installed node.js in order to run the bot
7
+
- You need to have installed node.js or Docker in order to run the bot
8
8
9
9
## Setup
10
10
1. Clone the repository
@@ -21,3 +21,15 @@ LEMMY_PASSWORD="" // The bot password
21
21
I recommend installing something like [forever.js](https://www.npmjs.com/package/forever) which will make it start back up again if it errors at some point
22
22
23
23
If you run into issues feel free to dm me on Matrix [here](https://matrix.to/#/@ategon:matrix.org)
24
+
25
+
## Setup with Docker
26
+
1. Clone the repository
27
+
2. Create an account in the instance you want the bot to have as its home (just make a regular user)
28
+
3. Create a file called .env in the bot folder and give it values in this format with the data in the quotes (dont add the slashes or the part after the slashes)
29
+
```
30
+
LEMMY_INSTANCE="" // The instance the bot account is in
31
+
LEMMY_USERNAME="" // The bot username
32
+
LEMMY_PASSWORD="" // The bot password
33
+
```
34
+
4. Change the data in config.yaml based on what you want set. Set the communities and feeds you want here
35
+
5. In the project directory build the docker image by running `docker build -t <your name>/<desired_image_name>` and then launch a new container with `docker run <your name>/<desired_image_name>`
0 commit comments