Deploy Mirror Bot - VPS

Deploy Mirror Bot - VPS

hitesh920

In this guide, we will deploy our mirror bot on vps.

If you starting fresh, then this guide will easily take your 1-2 hours.

Ok then lets start.

Requirements

  • Telegram Account.
  • Github Account.
  • Install Python on Windows.
  • Google Drive Account.
  • VPS

Repo Link: Here


# Step 1: Import Repo Privately

  • First thing first, goto bot repo Click Here  then copy the url of the repo
  • After that click on import and paste the copied repo url and import the repo.
  • Now download that repo.
  • The downloaded repo will be in zip file, so extract it.


# Step 2: Create credentials.json

Click Here


# Step 3: Create token.pickle

Click Here


# Step 4: Create config.env

Click Here


# Step 5: Upload Files To The Repo

Click Here


# Step 6: Setting Up VPS

Click Here


# Step 7: Deploy

Click Here



Extra

  • To use service account follow the sa branch or just Click Here
  • If you want to update config.env then edit the config.env in your imported private repo, once you done with the edit commit the file and then do /restart in your bot.
  • Updating bot to the latest codes of the original repo is a bit hard here. will make a guide on that later.
  • Want to ask something els? Join Mirror Society


Credits

  • Anasty for the mirror bot repo



Report Page