mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-12-13 18:24:29 +00:00
Writing up my notes for getting MagicMirror2 working on my laptop for dev.
25
Running-Magic-Mirror-on-OSX-(and-potentially-windows).md
Normal file
25
Running-Magic-Mirror-on-OSX-(and-potentially-windows).md
Normal file
@@ -0,0 +1,25 @@
|
||||
If you'd rather build your config.js file on your desktop rather than on raspberry Pi, then the following instructions should enable you to achieve your goals:
|
||||
|
||||
1. Make sure you have a recent Node installation (I'm using NVM to install Node v10.16.3)
|
||||
2. Clone the repository and check out the master branch: git clone https://github.com/MichMich/MagicMirror
|
||||
3. Enter the repository: cd MagicMirror/
|
||||
4. Install and run the app with: npm install && npm start
|
||||
|
||||
This should give you a running (but not configured) full screen magic mirror!
|
||||
|
||||
To configure it;
|
||||
1. Follow the instructions [here](https://github.com/MichMich/MagicMirror#general)
|
||||
2. I wanted to develop a portrait mode 1080P screen (on a laptop screen that isn't 1920px high!) so I had the following settings in my config.js
|
||||
```json
|
||||
electronOptions:{
|
||||
fullscreen: false,
|
||||
width:540,
|
||||
height:810
|
||||
},
|
||||
zoom: 0.5,
|
||||
```
|
||||
|
||||
Then launch your desktop MagicMirror with;
|
||||
1. npm start dev
|
||||
|
||||
Installing modules is the same as if you were on raspberry Pi, but I can imagine there are some that will require being on an rPi in order to successfully install and run!
|
||||
Reference in New Issue
Block a user