PageRenderTime 25ms CodeModel.GetById 12ms RepoModel.GetById 1ms app.codeStats 0ms

/README.md

https://gitlab.com/132nd-etcher/CouchPotatoServer
Markdown | 69 lines | 56 code | 13 blank | 0 comment | 0 complexity | 39ed10e8b71411fba2a72e8fbee0b558 MD5 | raw file
  1. CouchPotato
  2. =====
  3. CouchPotato (CP) is an automatic NZB and torrent downloader. You can keep a "movies I want"-list and it will search for NZBs/torrents of these movies every X hours.
  4. Once a movie is found, it will send it to SABnzbd or download the torrent to a specified directory.
  5. ## Running from Source
  6. CouchPotatoServer can be run from source. This will use *git* as updater, so make sure that is installed.
  7. Windows, see [the CP forum](http://couchpota.to/forum/showthread.php?tid=14) for more details:
  8. * Install [Python 2.7](http://www.python.org/download/releases/2.7.3/)
  9. * Then install [PyWin32 2.7](http://sourceforge.net/projects/pywin32/files/pywin32/Build%20217/) and [GIT](http://git-scm.com/)
  10. * If you come and ask on the forums 'why directory selection no work?', I will kill a kitten, also this is because you need PyWin32
  11. * Open up `Git Bash` (or CMD) and go to the folder you want to install CP. Something like Program Files.
  12. * Run `git clone https://github.com/RuudBurger/CouchPotatoServer.git`.
  13. * You can now start CP via `CouchPotatoServer\CouchPotato.py` to start
  14. * Your browser should open up, but if it doesn't go to `http://localhost:5050/`
  15. OS X:
  16. * If you're on Leopard (10.5) install Python 2.6+: [Python 2.6.5](http://www.python.org/download/releases/2.6.5/)
  17. * Install [GIT](http://git-scm.com/)
  18. * Open up `Terminal`
  19. * Go to your App folder `cd /Applications`
  20. * Run `git clone https://github.com/RuudBurger/CouchPotatoServer.git`
  21. * Then do `python CouchPotatoServer/CouchPotato.py`
  22. * Your browser should open up, but if it doesn't go to `http://localhost:5050/`
  23. Linux:
  24. * (Ubuntu / Debian) Install [GIT](http://git-scm.com/) with `apt-get install git-core`
  25. * (Fedora / CentOS) Install [GIT](http://git-scm.com/) with `yum install git`
  26. * 'cd' to the folder of your choosing.
  27. * Run `git clone https://github.com/RuudBurger/CouchPotatoServer.git`
  28. * Then do `python CouchPotatoServer/CouchPotato.py` to start
  29. * (Ubuntu / Debian) To run on boot copy the init script `sudo cp CouchPotatoServer/init/ubuntu /etc/init.d/couchpotato`
  30. * (Ubuntu / Debian) Copy the default paths file `sudo cp CouchPotatoServer/init/ubuntu.default /etc/default/couchpotato`
  31. * (Ubuntu / Debian) Change the paths inside the default file `sudo nano /etc/default/couchpotato`
  32. * (Ubuntu / Debian) Make it executable `sudo chmod +x /etc/init.d/couchpotato`
  33. * (Ubuntu / Debian) Add it to defaults `sudo update-rc.d couchpotato defaults`
  34. * (systemd) To run on boot copy the systemd config `sudo cp CouchPotatoServer/init/couchpotato.fedora.service /etc/systemd/system/couchpotato.service`
  35. * (systemd) Update the systemd config file with your user and path to CouchPotato.py
  36. * (systemd) Enable it at boot with `sudo systemctl enable couchpotato`
  37. * Open your browser and go to `http://localhost:5050/`
  38. Docker:
  39. * You can use [razorgirl's Dockerfile](https://github.com/razorgirl/docker-couchpotato) to quickly build your own isolated app container. It's based on the Linux instructions above. For more info about Docker check out the [official website](https://www.docker.com).
  40. FreeBSD :
  41. * Update your ports tree `sudo portsnap fetch update`
  42. * Install Python 2.6+ [lang/python](http://www.freshports.org/lang/python) with `cd /usr/ports/lang/python; sudo make install clean`
  43. * Install port [databases/py-sqlite3](http://www.freshports.org/databases/py-sqlite3) with `cd /usr/ports/databases/py-sqlite3; sudo make install clean`
  44. * Add a symlink to 'python2' `sudo ln -s /usr/local/bin/python /usr/local/bin/python2`
  45. * Install port [ftp/libcurl](http://www.freshports.org/ftp/libcurl) with `cd /usr/ports/ftp/fpc-libcurl; sudo make install clean`
  46. * Install port [ftp/curl](http://www.freshports.org/ftp/bcurl), deselect 'Asynchronous DNS resolution via c-ares' when prompted as part of config `cd /usr/ports/ftp/fpc-libcurl; sudo make install clean`
  47. * Install port [textproc/docbook-xml-450](http://www.freshports.org/textproc/docbook-xml-450) with `cd /usr/ports/textproc/docbook-xml-450; sudo make install clean`
  48. * Install port [GIT](http://git-scm.com/) with `cd /usr/ports/devel/git; sudo make install clean`
  49. * 'cd' to the folder of your choosing.
  50. * Run `git clone https://github.com/RuudBurger/CouchPotatoServer.git`
  51. * Then run `sudo python CouchPotatoServer/CouchPotato.py` to start for the first time
  52. * To run on boot copy the init script. `sudo cp CouchPotatoServer/init/freebsd /etc/rc.d/couchpotato`
  53. * Change the paths inside the init script. `sudo vim /etc/rc.d/couchpotato`
  54. * Make init script executable. `sudo chmod +x /etc/rc.d/couchpotato`
  55. * Add init to startup. `sudo echo 'couchpotato_enable="YES"' >> /etc/rc.conf`
  56. * Open your browser and go to: `http://server:5050/`