update docs

This commit is contained in:
Catering PC 2026-04-12 13:43:36 +02:00
parent 46e6e0db67
commit fef55c722b

View File

@ -1,18 +1,23 @@
# Receipt Printer
This software is designed to run on a debian based system and acts as a middle-man between the EZ LAN Manager database and the USB interface of the receipt printer.
This software is designed to run on a debian based system and acts as a middle-man between the EZGG LAN Manager database and the USB interface of the receipt printer.
# Notes
- Does only work on Linux
- Needs root privileges or udev config to work
- Designed to run alone on a Raspberry Pi
- Not meant to be exposed to the internet, local deployment only
- For EZ LAN Manager configuration, check README in that repo
- For EZGG LAN Manager configuration, check README in that repo
# Deploy
1. Configure password and port in `main.py`
2. Make sure USB printer is connected to device
3. Install requirements with sudo
4. Run `main.py` with sudo
3. Install requirements in venv
4. Adapt `receipt-printer.service` as needed and move to `~/.config/systemd/user`
5. Enable unit in systemd:
```sh
systemctl --user daemon-reexec
systemctl --user daemon-reload
systemctl --user enable receipt-printer
systemctl --user start receipt-printer
```