Skip to content

Latest commit

 

History

History
96 lines (66 loc) · 4.01 KB

README.md

File metadata and controls

96 lines (66 loc) · 4.01 KB

https://t.me/sub_controller_bot/ https://hub.docker.com/repository/docker/markushik/controller-new/ https://opensource.org/licenses/MIT/ https://github.com/Markushik/controller-new/stargazers https://github.com/Markushik/controller-new/ https://github.com/Markushik/controller-new/ https://github.com/Markushik/controller-new/actions/ https://github.com/astral-sh/ruff/ https://github.com/grantjenks/blue

controller — probably the best bot for a reminder of the end of the subscription.

🚀 Stack

Technologies

Frameworks & Libraries

Auxiliary Libraries

⭐ Application Schema

application-schema.png

🐘 Database Schema

database-scheme.png

🪛 Installation

🐳 Docker

1. Clone the repository:

git clone https://github.com/Markushik/controller-new.git

2. Create file .secrets.toml in folder configs and fill data

3. Run the command:

docker-compose up

💻 Default

1. Clone the repository:

git clone https://github.com/Markushik/controller-new.git

2. Create file .secrets.toml in folder configs and fill data

3. Bring up PostgreSQL, Redis and NATS

4. First run the taskiq scripts:

taskiq worker application.infrastructure.scheduler.tkq:broker --fs-discover --reload --max-async-tasks -1
taskiq scheduler application.infrastructure.scheduler.tkq:scheduler --fs-discover

5. Second run the bot:

python -m application.tgbot