Skip to content

Latest commit

 

History

History
53 lines (44 loc) · 1.22 KB

vps-deployment.md

File metadata and controls

53 lines (44 loc) · 1.22 KB

Process to run this BOT on VPS

  • Clone this repo:
git clone https://github.com/gautamajay52/TorrentLeech-Gdrive torrentleech-gdrive
cd torrentleech-gdrive
  • Install requirements For Debian based distros
sudo snap install docker

Install Docker by following the official docker docs

Setting up config file

cp sample_config.env config.env

After this step you will see a new file named config.env in root directory.

Fill those compulsory variables.

If you need more explanation about any variable then read app.jso

Deploying

  • Start docker daemon (skip if already running):
sudo dockerd
  • Build Docker image:
sudo docker build . -t torrentleech-gdrive
  • Run the image:
sudo docker run torrentleech-gdrive

Follow this Video Tutorial

The Legacy Way

Simply clone the repository and run the main file:

git clone https://github.com/gautamajay52/TorrentLeech-Gdrive
cd TorrentLeech-Gdrive
python3 -m venv venv
. ./venv/bin/activate
pip install -r requirements.txt
# <Create config.py appropriately>
python3 -m tobrot