Skip to content

Latest commit

 

History

History
68 lines (45 loc) · 1.6 KB

README.md

File metadata and controls

68 lines (45 loc) · 1.6 KB

🎰️ Virtual Casino in Telegram 📱

Telegram Bot

Virtual Casino is a transparent casino based on animated Telegram emoji. A bot was created for the demonstration @BaacharuKajino

System dependencies

  • Python 3.11+
  • Docker
  • docker-compose
  • make
  • poetry

Deployment

  1. Clone the repository:

    git clone https://github.com/Th3Kanashii/telegram-virtual-casino-bot.git
  2. Rename .env.dist to .env and configure it:

    Rename the .env.dist file to .env and specify the necessary parameters for the bot to work.

  3. Configure url in alembic.ini

  4. Build the application and run the bot:

    Execute the following commands:

    make app-build
    make app-run

Development

Setup environment

poetry install

Update database tables structure

Make migration script:

make migration message=MESSAGE_WHAT_THE_MIGRATION_DOES rev_id=ID_MIGRATION

Run migrations:

make migrate

Used technologies