Update install instructions.

This commit is contained in:
Michael Teeuw 2016-04-09 15:14:01 +02:00
parent a88e4932e6
commit 2859db15fe

View File

@ -11,23 +11,17 @@ This version of the Magic Mirror software focusses on a modular plugin system. B
#### Automatic Installer (Raspberry Pi Only!) #### Automatic Installer (Raspberry Pi Only!)
1. Clone the repository: `git clone -b v2-beta https://github.com/MichMich/MagicMirror` Execute the following command on your Raspberry Pi to install MagicMirror²:
2. Enter the new directory: `cd MagicMirror` ````
3. Give the installer permission to run: `sudo chmod +x install.sh` curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/v2-beta/installers/raspberry.sh | bash
4. Start the installer: `sudo ./install.sh` ````
#### Manual Installation #### Manual Installation
1. Download the latest Node.js version: 1. Download and install the latest Node.js version.
- `wget https://nodejs.org/dist/latest/node-v5.10.0-linux-armv6l.tar.gz` for Raspberry Pi 2. Clone the repository and check out the beta branch: `git clone -b v2-beta https://github.com/MichMich/MagicMirror`
- `wget https://nodejs.org/dist/latest/node-v5.10.0-linux-armv7l.tar.gz` for Raspberry Pi 2 3. Enter the repository: `cd MagicMirror`
- `wget https://nodejs.org/dist/latest/node-v5.10.0-linux-arm64.tar.gz` for Raspberry Pi 3 4. Install and run the app: `npm install && npm start` (You may have to restart your terminal before this works!)
2. Unpack the archive file: `tar -xvf filename.tar.gz`
3. Install Node.js: `cd foldername && sudo cp -R * /usr/local/`
4. Set loglevel `npm config set loglevel info`
5. Clone the repository and check out the beta branch: `git clone -b v2-beta https://github.com/MichMich/MagicMirror`
6. Enter the repository: `cd MagicMirror`
7. `npm install && npm start` (You may have to restart your terminal before this works!)
**Important:** `npm start` does **not** work via SSH, use `DISPLAY=:0 nohup npm start &` instead. This starts the mirror on the remote display. **Important:** `npm start` does **not** work via SSH, use `DISPLAY=:0 nohup npm start &` instead. This starts the mirror on the remote display.