Skip to content

Installation & Configuration

Sleepingpirates edited this page May 16, 2020 · 37 revisions

Intro:

I will be going over how to setup this bot on your plex server. We will be using PM2 to keep the bot running. This is obviously not the only way to get this running but it was what I used and found the easiest. Alternatively you can check this link out Ways to host discord bot.

Installation: (Linux)

  1. Have Python and pip installed on your machine.
  2. Simply clone my Repo -> git clone https://github.com/Sleepingpirates/Invitarr.git
  3. Run 'sudo pip install requirements.txt'
  4. Open up Invitarr.py and start filling out everything under '#settings'. Check here for a more detailed guide
  5. Save the file and just try running it with python to make sure everything works. python3 Invitarr.py
  6. Install PM2

Use this to install PM2 on Ubuntu-

sudo apt install nodejs

sudo apt install npm

sudo npm install pm2@latest -g

  1. pm2 start Invitarr.py --interpreter python3
  2. pm2 save

9.. Lastly you can refer to this Link for even more detailed steps. 10. Enjoy!

For other Os's refer to this.

Clone this wiki locally