You would need
git
anddocker
installed
- clone this repo
- run
make
- smart-mirror services will be started exposed on
http://localhost
This repo includes a Makefile that abstracts all commands.
Command | Desc |
---|---|
make |
starts all services |
make start |
starts all services |
make stop |
stops all services |
make rebuild |
rebuild all services after an update |
make start-frontend |
start only frontend |
make start-backend |
start only backend |
make stop-frontend |
stop only frontend |
make stop-backend |
stop only backend |
make rebuild-frontend |
rebuild only frontend |
make rebuild-backend |
rebuild only backend |
Task | Desc | Notes |
---|---|---|
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 |
For local development you just run docker compose up
which will start the frontend and backend services with hot-reloading.