Browse Source

Merge 8f77bfea08 into 711310d0c3

pull/6480/merge
AJFried 8 years ago
committed by GitHub
parent
commit
287417f686
  1. 2
      CouchPotato.py
  2. 4
      README.md

2
CouchPotato.py

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python2
from __future__ import print_function
from logging import handlers
from os.path import dirname

4
README.md

@ -42,13 +42,13 @@ Linux:
* 'cd' to the folder of your choosing.
* Install [PyOpenSSL](https://pypi.python.org/pypi/pyOpenSSL) with `pip install --upgrade pyopenssl`
* Run `git clone https://github.com/CouchPotato/CouchPotatoServer.git`
* Then do `python CouchPotatoServer/CouchPotato.py` to start
* Then do `python2 CouchPotatoServer/CouchPotato.py` to start
* (Ubuntu / Debian with upstart) To run on boot copy the init script `sudo cp CouchPotatoServer/init/ubuntu /etc/init.d/couchpotato`
* (Ubuntu / Debian with upstart) Copy the default paths file `sudo cp CouchPotatoServer/init/ubuntu.default /etc/default/couchpotato`
* (Ubuntu / Debian with upstart) Change the paths inside the default file `sudo nano /etc/default/couchpotato`
* (Ubuntu / Debian with upstart) Make it executable `sudo chmod +x /etc/init.d/couchpotato`
* (Ubuntu / Debian with upstart) Add it to defaults `sudo update-rc.d couchpotato defaults`
* (Linux with systemd) To run on boot copy the systemd config `sudo cp CouchPotatoServer/init/couchpotato.service /etc/systemd/system/couchpotato.service`
* (Linux with systemd)To run on boot copy the systemd config `sudo cp CouchPotatoServer/init/couchpotato.service /etc/systemd/system/couchpotato.service`
* (Linux with systemd) Update the systemd config file with your user and path to CouchPotato.py
* (Linux with systemd) Enable it at boot with `sudo systemctl enable couchpotato`
* Open your browser and go to `http://localhost:5050/`

Loading…
Cancel
Save