A small project to track when coffee pots where last brewed.
Electron, React, Redux, and target package to armhf arcitechure/Raspberry Pi with 480x320 touchscreen.
- Installing .deb file:
from: https://www.raspberrypi.org/forums/viewtopic.php?t=27915
$ sudo dpkg -i filename.deb
if dpkg: dependency problems prevent configuration of lastbrewtime:
lastbrewtime depends on libappindicator1; however:
Package libappindicator1 is not installed.
$ sudo apt-get -f install - lightdm configuration - Xsession blanking:
from: https://www.bitpi.co/2015/02/14/prevent-raspberry-pi-from-sleeping/
$ sudo nano /etc/lightdm/lightdm.conf
xserver-command=X -s 0 -dpms - Run terminal and execute command at startup:
from: https://www.raspberrypi.org/forums/viewtopic.php?t=66206
$ sudo apt-get install xterm
$ mkdir -p ~/.config/autostart
$ nano ~/.config/autostart/lxterm-autostart.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Terminal autostart
Comment=Start a terminal and list directory
Exec=/usr/bin/lxterm -e 'nohup /usr/local/bin/lastbrewtime' - Build for armhf (Raspberry Pi)
from: electron-userland/electron-builder#1230 (comment)
see package.json linux build that targets deb and armhf architechure