Files
AdNova/services/telegram_bot
..
2025-03-07 19:32:09 +03:00
2025-03-07 19:32:09 +03:00
2025-03-07 19:32:09 +03:00
2025-03-07 19:32:09 +03:00
2025-03-07 19:32:09 +03:00
2025-03-07 19:32:09 +03:00
2025-03-07 19:32:09 +03:00
2025-03-07 19:32:09 +03:00
2025-03-07 19:32:09 +03:00
2025-03-07 19:32:09 +03:00
2025-03-07 19:32:09 +03:00
2025-03-07 19:32:09 +03:00
2025-07-19 23:32:54 +03:00

AdNova Telegram Bot

Prerequisites

Ensure you have the following installed on your system:

Basic setup

Installation

Clone the project

Go to the project directory

cd AdNova/services/telegram_bot

Customize environment

cp .env.template .env

And setup env vars according to your needs.

Install dependencies

For dev environment
uv sync --all-extras
For prod environment
uv sync --no-dev

Running

uv run python main.py

Containerized setup

Clone the project

Go to the project directory

cd AdNova/services/telegram_bot

Build docker image

docker build -t adnova-telegram_bot .

Customize environment

Customize environment with docker run command (or bind .env file to container), for all environment vars and default values see .env.template.

Run docker image

docker run --name adnova-telegram_bot adnova-telegram_bot