From 9e2e5f019eeb6fee7d959bbcad55debc470a706b Mon Sep 17 00:00:00 2001 From: Andreas Demmelbauer Date: Tue, 19 Mar 2019 14:52:29 +0000 Subject: [PATCH] udate readme, update gitignore --- .gitignore | 1 + README.md | 44 +++++++++++++++++++++++++++----------------- 2 files changed, 28 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index e69de29..c18dd8d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +__pycache__/ diff --git a/README.md b/README.md index e66159d..3fe1fbb 100644 --- a/README.md +++ b/README.md @@ -3,33 +3,43 @@ Use Debian, install apt dependencies - sudo apt install git samba libttspico-utils python3-pip python3-lirc python3-rpi.gpio - maybe: wiringpi espeak +``` +sudo apt install git samba libttspico-utils python3-pip python3-lirc python3-rpi.gpio +``` +maybe also: `wiringpi espeak` Clone this repo - cd /home/pi - git clone https://git.notice.at/redplanet/discobert.git - - cd discobert +``` +cd /home/pi +git clone https://git.notice.at/redplanet/discobert.git +cd discobert +``` configure mpd - sudo cp mpd.conf /etc/mpd.conf +``` +sudo cp mpd.conf /etc/mpd.conf +``` configure samba share - sudo cp smb.conf /etc/samba/smb.conf - +``` +sudo cp smb.conf /etc/samba/smb.conf +``` install pip modules - pip3 install -r requirements.txt - +``` +pip3 install -r requirements.txt +``` add systemd service - sudo cp disco.service /lib/systemd/system/disco.service - sudo systemctl daemon-reload - +``` +sudo cp disco.service /lib/systemd/system/disco.service +sudo systemctl daemon-reload +``` ### DMX not working? -download udmx-pyusb -Clone https://github.com/dhocker/udmx-pyusb +download udmx-pyusb: +Clone https://github.com/dhocker/udmx-pyusb ... and add user permissions for udmx device - sudo cp 98-uDMX-usb.rules /etc/udev/rules.d +``` +sudo cp 98-uDMX-usb.rules /etc/udev/rules.d +```