Put requirements in README.md

This commit is contained in:
Fotoente 2022-02-20 14:01:06 +01:00
parent b11edc5c69
commit 560056dd1e
3 changed files with 10 additions and 2 deletions

2
.gitignore vendored
View file

@ -1,3 +1,3 @@
emojicount.cfg emojicount.cfg
miceco.cfg miceco.cfg
.idea .idea

View file

@ -10,6 +10,14 @@ This little script counts custom emojis and used reactions from the previous day
Clone the repository into a folder of your choice with `git clone https://github.com/fotoente/MiCECo.git` Clone the repository into a folder of your choice with `git clone https://github.com/fotoente/MiCECo.git`
Edit the file `example-miceco.cfg` (see table below) and save it as `miceco.cfg` Edit the file `example-miceco.cfg` (see table below) and save it as `miceco.cfg`
Install following Python packages via `pip install`
```
emoji
python-dateutil
```
or use `pip install -r requirements.txt` in the cloned folder
You are now ready to run the script with any Python3 version. You are now ready to run the script with any Python3 version.
I recommend using a cronjob to let it run on a daily basis. I recommend using a cronjob to let it run on a daily basis.

View file

@ -3,7 +3,7 @@ import os
import re import re
import sys import sys
from datetime import * from datetime import *
import dateutil.relativedelta # import dateutil.relativedelta
import requests import requests
import emoji as emojilib import emoji as emojilib