892 B
892 B
Lightning activated Beertap for the EINUNDZWANZIG SAARLAND/PFALZ Plebs
Instructions:
Install prerequisities
sudo apt-get install python-is-python3 pigpio python3-pigpio build-essential autoconf libtool pkg-config libnfc6 libnfc-bin libnfc-examples
pip install pillow configparser qrcode events requests pigpio pn532pi
Clone Project
git clone https://codeberg.org/amiss.widen751/LN-Beertap.git
cd LN-Beertap
Edit Config
mv example.config.beer config.beer
nano config.beer
Make it systemd
sudo mv systemd/* /lib/systemd/system/
sudo rm -rf systemd
sudo systemctl enable pigpiod.service
sudo systemctl enable beertap.service
sudo systemctl enable killswitch.service
sudo systemctl daemon-reload
sudo systemctl start pigpiod.service
sudo systemctl start beertap.service
sudo systemctl start killswitch.service