Updated README.md
This commit is contained in:
@@ -35,7 +35,12 @@ Run the installation script
|
|||||||
`cd simplematrixbotlib && pip install .`
|
`cd simplematrixbotlib && pip install .`
|
||||||
`cd ../ && pip install -r requirements.txt`
|
`cd ../ && pip install -r requirements.txt`
|
||||||
|
|
||||||
3. Set up environment variables:
|
5. If you use the Goodreads quote plugin (quote.py):
|
||||||
|
|
||||||
|
`pip install playwright beautifulsoup4 lxml`
|
||||||
|
`playwright install chromium`
|
||||||
|
|
||||||
|
6. Set up environment variables:
|
||||||
Create/Edit `.env` file in the root directory of the bot and add the following variables:
|
Create/Edit `.env` file in the root directory of the bot and add the following variables:
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -61,7 +66,7 @@ OMDB_API_KEY=
|
|||||||
GNEWS_API_KEY=
|
GNEWS_API_KEY=
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Create systemd.service
|
7. Create systemd.service
|
||||||
Create `/etc/systemd/system/funguybot.service`
|
Create `/etc/systemd/system/funguybot.service`
|
||||||
Replace `$working_directory` with your bot install path
|
Replace `$working_directory` with your bot install path
|
||||||
|
|
||||||
@@ -86,7 +91,7 @@ WantedBy=multi-user.target
|
|||||||
EOF
|
EOF
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Launch Fungy
|
8. Launch Fungy
|
||||||
```
|
```
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable funguybot
|
systemctl enable funguybot
|
||||||
|
|||||||
Reference in New Issue
Block a user