Updated Installation (markdown)

JonnyWong16
2018-03-10 08:31:39 -08:00
parent f8e0ded725
commit 5ad892d6f2

@@ -1,128 +1 @@
### This guide assume you have [Python 2.7](https://www.python.org/downloads/) installed already. Python 3.x is not supported. **The wiki has moved to https://github.com/Tautulli/Tautulli-Wiki/wiki**.
---
## Windows
Very well done [video installation guide by Byte My Bits](https://youtu.be/G2m5UJqHYRs) for method 2.
* Method 1 (easy):
* Download PlexPy from GitHub: https://github.com/JonnyWong16/plexpy/zipball/master
* Extract the ZIP file.
* Double click `PlexPy.py`.
* PlexPy will be loaded in your browser or listening @ http://localhost:8181.
* Create a shortcut to `PlexPy.py` and copy that to your startup folder (`C:\Documents and Settings\<Username>\Start Menu\Programs\Startup` or `C:\Users\<Username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup`) to startup PlexPy when Windows starts.
* Method 2 (preferred)
> **NOTE**: This will install extra shell extensions and make adjustments to your path environment.
* Go to http://msysgit.github.io and download git.
* Run the installer, select all the defaults except for the section called "Adjusting your PATH environment" - here select **"Use Git from the Windows command prompt"**
* Complete the rest of the install with the default options.
* Right click on your desktop and select "Git Gui".
* Select "Clone Existing Repository".
* In the "Source Location" enter: https://github.com/JonnyWong16/plexpy.git
* In "Target Directory" create a new folder where you want to install PlexPy to.
* Click "Clone".
* When it's finished a Git Gui windows will appear, just close this Window.
* Browse to where you cloned the PlexPy repository and double click PlexPy.
## Linux
PlexPy will be installed to `/opt/plexpy`.
* Open a terminal
* Install Git
* Ubuntu/Debian: `sudo apt-get install git-core`
* Fedora: `sudo yum install git`
* Type: `cd /opt`
* Type: `git clone https://github.com/JonnyWong16/plexpy.git`
* Type: `cd plexpy`
* Type: `python PlexPy.py`
* PlexPy will be loaded in your browser or listening on http://localhost:8181
* To start PlexPy on startup, refer to [[Install as a daemon]]
## FreeBSD
PlexPy will be installed to `/usr/local/share/plexpy`.
* Open a terminal
* Install pre-requisites:
`sudo pkg install python2 py27-sqlite3 py27-openssl security/ca_root_nss git`
* Type: `cd /usr/local/share/`
* Type: `sudo git clone https://github.com/JonnyWong16/plexpy.git`
* Fix permissions:
* Allow all users to run: `sudo chmod 777 plexpy`
_OR_
* Allow only a certain user to run: `sudo chown -R _sabnzbd:_sabnzbd plexpy`
_OR_
* If using the pkg version of plexmediaserver use: `sudo chown -R plex:plex /usr/local/share/plexpy`
* Type: `cd plexpy`
* Type: `python2 PlexPy.py`
* PlexPy will be loaded in your browser or listening on http://localhost:8181
* To start PlexPy on startup, refer to [[Install as a daemon]]
## FreeNAS
Instructions by [Supa on the FreeNAS forums](https://forums.freenas.org/index.php?threads/how-to-install-plexpy-in-a-freenas-9-3-jail.38589/#post-234202).
PlexPy will be installed to `/usr/local/share/plexpy`.
* Create a new jail for PlexPy (you can also install it within the PMS jail if you wish)
* Open the jail shell.
* Install pre-requisites:
`pkg install python2 py27-sqlite3 py27-openssl security/ca_root_nss git`
* Type: `cd /usr/local/share/`
* Type: `git clone https://github.com/JonnyWong16/plexpy.git`
* Fix permissions:
* Allow all users to run: `chmod 777 plexpy`
_OR_
* Allow only a certain user to run: `chown -R user:group plexpy`
* Type: `cd plexpy`
* Type: `python2 PlexPy.py`
* PlexPy will be loaded in your browser or listening on http://localhost:8181 (http://[JAIL-IP]:8181)
* To start PlexPy on startup, refer to [[Install as a daemon]]
## Mac OSX
PlexPy will be installed to `/Applications/PlexPy`
* Method 1 (easy):
* Download PlexPy from GitHub: https://github.com/JonnyWong16/plexpy/zipball/master
* Extract the zip to `/Applications/PlexPy`. Make sure you extract the files directly in the root.
* Open a terminal
* Type: `cd /Applications/PlexPy`
* Method 2 (preferred):
* Open a terminal
* Install Git. This can be done via `xcode-select --install`
* Type: `mkdir /Applications/PlexPy`
* Type: `cd /Applications/`
* Type: `git clone https://github.com/JonnyWong16/plexpy.git PlexPy`
* Type: `cd PlexPy`
* Type: `python PlexPy.py`
* PlexPy will be loaded in your browser or listening on http://localhost:8181.
* To start PlexPy on startup, refer to [[Install as a daemon]]
## Docker
You can install PlexPy on devices that support Docker using the [Docker container by LinuxServer.io](https://hub.docker.com/r/linuxserver/plexpy/).
## QNAP
You can install PlexPy on QNAP devices using the [`.qpkg` by QNAP_Stephane on the QNAP forums](http://forum.qnap.com/viewtopic.php?f=320&t=119855).
## ReadyNAS
You can install PlexPy on ReadyNAS devices using the [ReadyNAS app by Mhynlo](http://apps.readynas.com/pages/?page_id=9).
## Thecus NAS
You can install PlexPy on Thecus devices using the [Thecus app by outkastm](https://forum.thecus.com/showthread.php?tid=12768&pid=70628#pid70628).
## ArchLinux
You can install PlexPy on ArchLinux using the [AUR package by Sonic-Y3k](https://aur.archlinux.org/packages/plexpy/).