From ec7f2decccfbdaba98294ad302fcc68aba33f538 Mon Sep 17 00:00:00 2001 From: Lucca Ketterer Date: Sat, 21 Jan 2023 16:05:57 +0100 Subject: [PATCH] pi install script --- pi/install.sh | 6 ++++++ pi/requirements.txt | 4 ++++ 2 files changed, 10 insertions(+) create mode 100644 pi/install.sh create mode 100644 pi/requirements.txt diff --git a/pi/install.sh b/pi/install.sh new file mode 100644 index 0000000..1f45c3d --- /dev/null +++ b/pi/install.sh @@ -0,0 +1,6 @@ +#!/bin/sh +chmod +x ./lc.py +cp lc.service /etc/systemd/system/ +systemctl daemon-reload +systemctl enable --now lc.service +systemctl restart lc diff --git a/pi/requirements.txt b/pi/requirements.txt new file mode 100644 index 0000000..ba48f7f --- /dev/null +++ b/pi/requirements.txt @@ -0,0 +1,4 @@ +adafruit-ws2801 +adafruit-gpio +RPi.GPIO +