Skip to content

Deployment

Dragon edited this page Jul 15, 2024 · 5 revisions

Manga Bot

Manga Bot

ℹ️ A Powerful Pyrogram Based Telegram Manga Downloader.

Get Your Env Variables

Heroku

Deploy

Railway

Deploy on Railway

VPS

1. Installing requirements

  • Clone this repo:
git clone https://github.com/Dra-Sama/mangabot mangabot/ && cd mangabot
  • For Debian based distros
sudo apt install python3 python3-pip

Install Docker by following the Official docker docs. Or you can use the convenience script: curl -fsSL https://get.docker.com | bash

  • For Arch and it's derivatives:
sudo pacman -S docker python
  • Install dependencies for running setup scripts:
pip3 install -r requirements.txt

Build And Run The Docker Image Using Official Docker Commands

  • Start Docker daemon (SKIP if already running, mostly you don't need to do this):
sudo dockerd
  • Build Docker image:
sudo docker build . -t mangabot
  • Run the image:
sudo docker run -p 80:80 -p 8080:8080 mangabot
  • To stop the running image:
sudo docker ps
sudo docker stop id

Clone this wiki locally