Skip to content

bastibuck/smart-mirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Mirror

Requirements

You would need

  • git and docker installed

Get started

  1. clone this repo
  2. run make
  3. smart-mirror services will be started exposed on http://localhost

Commands

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

Some other helpful commands (for me mostly 😂)

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

Development

For local development you just run docker compose up which will start the frontend and backend services with hot-reloading.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published