Clone the repository in your desired directory:
git clone https://github.com/SinaRahimzade/TelegramBot.git
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
Rename the configs_template.yaml file to configs.yaml
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