This repo includes a script to download and run the newest "release" (it's more like a nightly build of the main
branch currently) automatically.
You would need
- 64bit system e.g. Raspberry Pi 4
ssh
,git
anddocker
installed and setup- a GitHub account with your ssh key connected
Than you simply
- clone this repo
- make
get-release.sh
executable (chmod +x get-release.sh
) - run
get-release.sh
- smart-mirror container will be created and expose
http://[HOSTNAME/IP]
Should be as simple as running get-release.sh
again. It will download a new version, remove old docker images and rebuild a new container from the new image.
Task | Desc | Notes |
---|---|---|
Start | sudo docker start smart-mirror |
|
Stop | sudo docker stop smart-mirror |
|
Follow logs | sudo docker logs -f smart-mirror |
|
Run app in browser | DISPLAY=:0 chromium-browser http://localhost:80 --start-fullscreen --kiosk --no-first-run & |
Hit enter after opening |
Stop browser | sudo killall chromium-browser |