Raspberry Pi Magic Mirror - JackieWSC/Onepiece GitHub Wiki

Magic Mirror

Update the Raspbian

  • sudo apt-get -y update
  • sudo apt-get -y upgrade

PM2

PM2 is a Production Process Manager for Node.js applications
                     with a built-in Load Balancer.

                Start and Daemonize any application:
                $ pm2 start app.js

                Load Balance 4 instances of api.js:
                $ pm2 start api.js -i 4

                Monitor in production:
                $ pm2 monitor

                Make pm2 auto-boot at server restart:
                $ pm2 startup

                To go further checkout:
                http://pm2.io/

Start Magic Mirror

We're ready! Run DISPLAY=:0 npm start from the ~/MagicMirror directory to start your MagicMirror.
  • pm2 start MagicMirror
  • pm2 stop MagicMirror

Config

  • MagicMirror/config/config.js

Reference

Tools

Target

  • Magic Mirror
  • Use in morning
  • Use as a reminder
  • Jarvis