Skip to content

Commit f74ab4c

Browse files
authored
Update README.md
1 parent 22ec00a commit f74ab4c

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,14 @@ This bot is made for the https://programming.dev/ communities but the source cod
66
## Prerequisites
77
- You need to have installed node.js in order to run the bot
88

9-
## Notes
10-
- If running on windows the environment variables may act up. You can insert them manually into the bot by replacing the things like process.env.USERNAME and the other things starting with process.env with the value for username in .env or their other respective value. (However do not push these changes to git as then your password will be public)
11-
12-
139
## Setup
1410
1. Clone the repository
1511
2. Create an account in the instance you want the bot to have as its home (just make a regular user)
1612
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)
1713
```
18-
INSTANCE="" // The instance the bot account is in
19-
USERNAME="" // The bot username
20-
PASSWORD="" // The bot password
14+
LEMMY_INSTANCE="" // The instance the bot account is in
15+
LEMMY_USERNAME="" // The bot username
16+
LEMMY_PASSWORD="" // The bot password
2117
```
2218
4. Change the data in config.yaml based on what you want set. Set the communities and feeds you want here
2319
5. Open a terminal in the bot folder and run `npm install` to install dependendies and then `node main.js` to run the bot (whenever you want to start the bot again you can just do ctrl+c to interrupt the process and node main.js to start the bot)

0 commit comments

Comments
 (0)