Update README.md

This commit is contained in:
JRK 2024-02-19 16:17:06 +01:00 committed by GitHub
parent 9b150f5864
commit 989ef64ca9

View File

@ -39,21 +39,21 @@ sudo systemctl start obscreen.service
If everything is set up correctly, the RaspberryPi shall start chromium in fullscreen directly after boot screen and after some seconds of showing the date & time (default.html) your slideshow shall start and loop endlessly.
### Additional
## Additional
## A. Hardware checks
### Basic Setup
### A. Hardware checks
- Basic Setup
For basic RaspberryPi setup you can use most of the available guides, for example this one:
https://gist.github.com/blackjid/dfde6bedef148253f987
### HDMI Mode
- HDMI Mode
You may need to set the HDMI Mode on the raspi to ensure the hdmi resolution matches your screen exactly. Here is the official documentation:
https://www.raspberrypi.org/documentation/configuration/config-txt/video.md
However, I used this one: `(2,82) = 1920x1080 60Hz 1080p`
## B. Nginx server to serve pages (useful for gzip compression for instance)
1. Setup
### B. Nginx server to serve pages (useful for gzip compression for instance)
1. Install
```bash
sudo apt isntall -y nginx
sudo rm /etc/nginx/sites-enabled/default 2>/dev/null
@ -61,10 +61,10 @@ sudo ln -s "$(pwd)/system/nginx-obscreen" /etc/nginx/sites-enabled
sudo systemctl reload nginx
```
2. Configure `nano config.py`
```json
```js
{
# ...
// ...
"reverse_proxy_mode": True,
# ...
// ...
}
```