tarina

git clone https://git.tarina.org/tarina
Log | Files | Refs | README | LICENSE

commit 8b439be7150539ed996689a0f7c9dc765a9ae4f5
parent 941209d7307e74de90bff8722746937e1c711171
Author: Robin Bäckman <robinbackman@gmail.com>
Date:   Tue,  1 Nov 2016 14:44:34 +0000

README.md edited online with Bitbucket
Diffstat:
MREADME.md | 63---------------------------------------------------------------
1 file changed, 0 insertions(+), 63 deletions(-)

diff --git a/README.md b/README.md @@ -29,69 +29,6 @@ git clone https://rbckman@bitbucket.org/rbckman/tarina.git cd tarina sudo ./install.sh ``` - -## Installing Adafruit 3.5 pitft screen ## -https://learn.adafruit.com/adafruit-pitft-3-dot-5-touch-screen-for-raspberry-pi/easy-install - -## Configurations Rasbian Wheezy ## -Booting to Tarina on Raspbian Wheezy (init) -``` -nano /etc/inittab -``` -comment out line 54 -``` -#1:2345:respawn:/sbin/getty --noclear 38400 tty1 -``` -add this line instead -``` -1:2345:respawn:/bin/login -f root tty1 </dev/tty1 >/dev/tty1 2>&1 -``` -place this to the end of /root/.bashrc: -``` -if [ $(tty) == /dev/tty1 ]; then - cd /home/pi/tarina - echo -e '\033[?17;0;0c' > /dev/tty1 - python tarina.py > /dev/tty2 2>err.log -fi -``` -## Configurations Rasbian Jessie ## -open new unit file -``` -sudo nano /etc/systemd/system/tarina.service -``` -and put this in it: -``` -[Unit] -Description=Starts Tarina -DefaultDependencies=false # Very important! Without this line, the service - # would wait until networking.service - # has finished initialization. This could add 10 - # more seconds because of DHCP, IP attribution, etc. - -[Service] -Type=simple -ExecStart=/usr/bin/python /home/pi/tarina/tarina.py -WorkingDirectory=/home/pi/tarina/ -StandardInput=tty -#StandardOutput=tty -TTYPath=/dev/tty5 -TTYReset=yes -TTYVHangup=yes - -[Install] -WantedBy=local-fs.target -``` -Then run this -``` -sudo chmod 664 /etc/systemd/system/tarina.service && sudo systemctl daemon-reload -``` - -## Known problems ## - -* Seems like the whole thing runs better on Wheezy, even if it's the pi 2. I don't know why? -* Systemd issue? or something else... -* thumbnails is wierd looking on pi 3 with Jessie. Possible bug in python-picamera?? - ## Couldn't have been done without these ## Sending <3 to all