mirror of
https://github.com/fotoente/MiCECo.git
synced 2024-10-22 23:19:09 +00:00
Put requirements in README.md
This commit is contained in:
parent
b11edc5c69
commit
560056dd1e
3 changed files with 10 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,3 +1,3 @@
|
||||||
emojicount.cfg
|
emojicount.cfg
|
||||||
miceco.cfg
|
miceco.cfg
|
||||||
.idea
|
.idea
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue