SinaRahimzade / TelegramBot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use

1. Clone

Clone the repository in your desired directory:

git clone https://github.com/SinaRahimzade/TelegramBot.git

2. Making Virtual Environment

Make a virtual environment in the directory:

python -m pip install --user virtualenv
cd TelegramBot
virtualenv venv

Activate the virtual environment in linux and macOS:

source venv/bin/activate 

Activate the virtual environment in windows:

venv\Scripts\activate

Finally install the requirements:

pip install -r requirements.txt

3. Rename configs_template

Rename the configs_template.yaml file to configs.yaml

4. Edit configs.yaml

5. Run

Activate the virtual environment in linux and macOS:

source venv/bin/activate 

Activate the virtual environment in windows:

venv\Scripts\activate

Finally run the main.py file:

python3 main.py

About


Languages

Language:Python 100.0%