Update README.md

This commit is contained in:
JRK 2024-02-18 23:02:15 +01:00 committed by GitHub
parent 1af2ac43c4
commit cca13973b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
# Reclame # Obscreen
## About ## About
Use a RaspberryPi to show a full-screen Slideshow (Kiosk-mode) Use a RaspberryPi to show a full-screen Slideshow (Kiosk-mode)
@ -8,9 +8,9 @@ Use a RaspberryPi to show a full-screen Slideshow (Kiosk-mode)
sudo apt-get update && sudo apt-get dist-upgrade sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get install -y git chromium-browser unclutter sudo apt-get install -y git chromium-browser unclutter
git clone https://github.com/jr-k/reclame.git git clone https://github.com/jr-k/obscreen.git
cd reclame && pip3 install -r requirements.txt && cp data/slideshow.json.dist data/slideshow.json cd obscreen && pip3 install -r requirements.txt && cp data/slideshow.json.dist data/slideshow.json
./reclame.py ./obscreen.py
``` ```
## Installation - step by step ## Installation - step by step
@ -31,23 +31,23 @@ sudo apt-get upgrade
sudo apt-get dist-upgrade sudo apt-get dist-upgrade
sudo apt-get install -y git chromium-browser unclutter sudo apt-get install -y git chromium-browser unclutter
git clone https://github.com/jr-k/reclame.git git clone https://github.com/jr-k/obscreen.git
cd reclame && pip3 install -r requirements.txt && cp data/slideshow.json.dist data/slideshow.json cd obscreen && pip3 install -r requirements.txt && cp data/slideshow.json.dist data/slideshow.json
``` ```
## Run ## Run
### Cli mode ### Cli mode
```bash ```bash
./reclame.py ./obscreen.py
``` ```
### Forever with systemctl ### Forever with systemctl
```bash ```bash
sudo cp system/reclame.service /etc/systemd/system/reclame.service sudo cp system/obscreen.service /etc/systemd/system/obscreen.service
sudo systemctl daemon-reload sudo systemctl daemon-reload
sudo systemctl enable reclame.service sudo systemctl enable obscreen.service
sudo systemctl start reclame.service sudo systemctl start obscreen.service
``` ```
## Prepare your Slideshow ## Prepare your Slideshow