Skip to content

Latest commit

 

History

History
57 lines (42 loc) · 1.47 KB

INSTALL.md

File metadata and controls

57 lines (42 loc) · 1.47 KB

Installation

  1. Install Module

    cd ~/MagicMirror/modules
    git clone https://github.com/hermanho/MMM-OneDrive
    cd MMM-OneDrive
    npm run install-prod

    If you are using Docker

    cd ~/MagicMirror/modules
    git clone https://github.com/hermanho/MMM-OneDrive
    docker exec -it -w /opt/magic_mirror/modules/MMM-OneDrive magic_mirror npm run install-prod
  2. Add MMM-OneDrive module config in ~/MagicMirror/config/config.js

Authorise OAuth Token

On-device (Just do it on Raspberry PI with Desktop UI)

  1. Start MagicMirror as usual

    cd ~/MagicMirror
    npm start
  2. At first execution, It will open a browser and will ask you to login Microsoft account.

  3. Authorize it and close the browser when done

Sperated machine (When the device does not have Desktop UI)

  1. Install a copy in your local machine (Win / Mac)

  2. Start MagicMirror as usual

    cd ~/MagicMirror
    npm start
  3. At first execution, It will open a browser and will ask you to login Microsoft account.

  4. Authorize it and close the browser when done

  5. Copy the file msal/token.json to the folder MMM-OneDrive in the remote device