darksidecat / telegram-2048-bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2048 Bot

The creation of this bot is inspired by @MasterGroosha telegram-bombsweeper-bot

Used technologies

  • Python;
  • aiogram v3 (Telegram Bot framework);
  • Docker and Docker Compose (containerization);
  • PostgreSQL (database);
  • Redis (persistent storage for some ongoing game data);
  • SQLAlchemy (working with database from Python);
  • Alembic (database migrations made easy);

Installation

Make directories for bot's data:

Grab .env-example file, rename it to .env, open and fill the necessary data.

Change redis.conf values for your preference.

Run script .make_volumes.sh Directories wil be created in ${HOME}/${VOLUMES_DIR} path

Finally, start your bot with docker-compose up -d command.

About

License:MIT License


Languages

Language:Python 94.3%Language:Dockerfile 2.8%Language:Mako 1.5%Language:Shell 1.5%