Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 2.12 KB

File metadata and controls

54 lines (35 loc) · 2.12 KB
description A guide to host HellBot Userbot locally.

Deploy Locally

{% embed url="https://github.com/The-HellBot/HellBot" %} Official HellBot Userbot Repo {% endembed %}

Need python version >=3.10

Steps to deploy locally:

  • Fork & Star this repo.
  • Now, follow these steps carefully:
    • Update apt:

      sudo apt update && sudo apt upgrade -y

    • Now install required packages:

      sudo apt install --no-install-recommends -y python3-lxml python3-psycopg2 libpq-dev libcurl4-openssl-dev libxml2-dev libxslt1-dev python3-pip python3-sqlalchemy openssl wget curl git libffi-dev libjpeg-dev libwebp-dev python3 python3-dev pv tree mediainfo nano nodejs libreadline-dev libyaml-dev gcc zlib1g ffmpeg libssl-dev libgconf-2-4 libxi6 unzip libopus0 libopus-dev python3-virtualenv tmux libmagickwand-dev

    • Clone the GitHub repo:

      git clone https://github.com/The-HellBot/Plugins-T

    • Go to the cloned repo directory:

      cd Plugins-T

    • Edit the config file:

      mv ex_config.py config.py

      nano config.py

      Fill all the mentioned variables there. Refer to this page for easier understanding.

    • Enter in new window:

      tmux

    • Create and activate a new virtualenv:

      virtualenv venv

      source venv/bin/activate

    • Install requirements to run the userbot:

      pip3 install -r requirements.txt

    • After requirements are installed, start the userbot:

      bash start.sh

    • Exit the window:

      CTRL + B then D

Enjoy your Userbot 🎉