diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -1 +1,30 @@ | |||
1 | # LumberJack bot [![CircleCI](https://circleci.com/gh/clarkzjw/LumberJack.svg?style=svg)](https://circleci.com/gh/clarkzjw/LumberJack) | 1 | # LumberJack bot [![CircleCI](https://circleci.com/gh/clarkzjw/LumberJack.svg?style=svg)](https://circleci.com/gh/clarkzjw/LumberJack) |
2 | |||
3 | ## Usage | ||
4 | |||
5 | ```python | ||
6 | python3 bot.py | ||
7 | ``` | ||
8 | |||
9 | Make sure you have PyAutoGUI installed. | ||
10 | |||
11 | If you use Debian based Linux, you can install PyAutoGUI by | ||
12 | |||
13 | ```bash | ||
14 | sudo apt-get install scrot python3-tk python3 python3-dev python3-pip | ||
15 | sudo pip3 install image | ||
16 | sudo pip3 install python3-xlib | ||
17 | sudo pip3 install pyautogui | ||
18 | ``` | ||
19 | |||
20 | ## The Docker way | ||
21 | |||
22 | Although the Docker image of this bot cannot work correctly, you can give it a try. Remember to read the comments on top of Dockerfile | ||
23 | |||
24 | ```bash | ||
25 | docker run -it \ | ||
26 | -e DISPLAY=$DISPLAY \ | ||
27 | -v /tmp/.X11-unix:/tmp/.X11-unix \ | ||
28 | clarkzjw/lumberjack | ||
29 | ``` | ||
30 | |||