No description
Find a file
erius 5c23eb15e3 Removed dotenvy crate
Added README file
2024-12-09 22:24:57 +03:00
migrations Implemented load and update methods for the model 2024-12-09 19:20:55 +03:00
src Removed dotenvy crate 2024-12-09 22:24:57 +03:00
.gitignore Updated .gitignore, removed .sqlx directory from the source tree 2024-12-09 19:24:02 +03:00
Cargo.lock Removed dotenvy crate 2024-12-09 22:24:57 +03:00
Cargo.toml Removed dotenvy crate 2024-12-09 22:24:57 +03:00
README.md Removed dotenvy crate 2024-12-09 22:24:57 +03:00

Yandex metrics Telegram bot

Setup

Set these environment variables before running the binary:

  1. BOT_TOKEN (required) - Telegram bot token
  2. DATABASE_URL (default - sqlite:data.db) - Database connection URL
  3. ADMIN - Default application admin

For development purposes it's recommended to create config.toml file in .cargo directory and specify the environment there