From 9c306a014a8b89419d19d3bee49bf6126f817313 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juho=20Syrj=C3=A4nen?= Date: Mon, 19 Dec 2022 09:41:36 +0200 Subject: [PATCH] docs: Update documentation (#33) --- README.md | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index c41368c..1ca4c39 100644 --- a/README.md +++ b/README.md @@ -2,29 +2,25 @@ > Reporting the important things to the masses -Pirkkabot innocently scans K-Ruoka webstore for Pirkka III -beer's price daily (Kesko pls don't block, 1 page load per day only!). As of release v2.0 Pirkkabot is utilising PirkkaAPI, ChromeEngine & Selenium are deprecated. +Pirkkabot innocently scans K-Ruoka webstore for Pirkka III -beer's price daily (Kesko pls don't block, 1 page load per day only!). ## Technologies used -- Good old Bash and RegEx. -- Docker - Python - Tweepy - SQLite3 -## Dockerfile - -Docker image is based on ``python:3.7`` base image. - # Run Pirkkabot -To run Pirkkabot, populate secrets, mount DB and run: +To run Pirkkabot, populate secrets, run: -```bash -docker run --mount type=bind,source="$(pwd)"/db,target=/app/db pirkkabot +```shell +cd pirkkabot +mkdir db && touch db/pirkka_price.db +python3 ./tweet.py ``` ### PirkkaDB -As of v1.0.1 Pirkka III-Olut daily price is saved to an SQLite database. -Database backups are handled at server backend to off-site NAS server. +As of v1.0.1 Pirkka III-Olut daily price is saved to an SQLite database. +Database backups are handled at the server backend to the off-site NAS server.