summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2020-06-27 12:55:47 -0300
committerRoger Gonzalez <roger@rogs.me>2020-06-27 12:55:47 -0300
commitd2f91f23cb9c60d7ca20c209fddaf272072c379f (patch)
tree6a9596061c070da5b2d0ff1214cdb9bd2d205a3f
parent05abb0cc22108e91bc4a294dae5aaa54a85abc2b (diff)
Fixed README
-rw-r--r--README.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/README.md b/README.md
index af9f385..c4eeea4 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +4,7 @@ A small scraper I did with Selenium for the civil registry in Uruguay, a Telegra
## What do you need?
+- `python3` and `pip3`
- A Telegram APP (talk to @BotFather for that).
- A way to run cronjobs.
@@ -18,7 +19,7 @@ cp .env.example .env
- Install your dependencies.
``` sh
-pip -r requirements.txt
+pip3 install -r requirements.txt
```
- Run it!
@@ -27,5 +28,13 @@ pip -r requirements.txt
./app.py
```
+- (Optional) Set a cronjob.
+
+``` sh
+crontab -e
+...
+*/30 * * * * /usr/bin/python3 my/script/location/app.py >> my/script/location/log.txt
+```
+
# License
The files and scripts in this repository are licensed under the MIT License, which is a very permissive license allowing you to use, modify, copy, distribute, sell, give away, etc. the software. In other words, do what you want with it. The only requirement with the MIT License is that the license and copyright notice must be provided with the software.