This Magic Mirror settings interface uses CakePHP for the backend and simple PHP and HTML for the view that shows on the actual Magic Mirror.
This project is based off Michael's Magic Mirror simple PHP and JS script.
- Install Composer, you will need it to install all the dependencies.
- Clone this repo
git clone https://github.com/ConnorChristie/ChromecastMagicMirror.git ChromecastMagicMirror
- Download all the dependencies
composer install
in theChromecastMagicMirror
directory. - Set up a new MYSQL database and change your
config/app.php
default database settings to connect to it. - Run the commands:
bin/cake migrations migrate
andbin/cake migrations seed
to initialize the database.
When creating extensions to the Chromecast Magic Mirror project, please put all your code in plugins/PluginName
.
Then just push your PluginName
folder to your git repo.
Read and edit config/app.default.php
, you are going to have to rename this file to config/app.php
and add your MySQL database credentials to it.
Connor Christie
Idea from: Michael Teeuw