Skip to content

telegram dating bot Michelangelo | телеграм бот для знакомств

License

Notifications You must be signed in to change notification settings

devvsima/dating-bot

Repository files navigation

🚀 Let's get started

🛠️ Technology Stack

  • aiogram 2
  • i18n
  • peewee
  • PostgreSQL \ Sqlite

📥 Installation Instructions

1. Clone the repository

First, clone the repository and navigate to its directory:

git clone https://github.com/devvsima/dating-bot.git
cd dating-bot

2. Setting up the virtual environment “.venv”

💡 Note: The name .venv can be changed to any other name you wish.

Linux

python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements.txt

💡 You may have to install apt install python3.10-venv or something like that

Windows

python -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt

3. Customizing the .env environment variables

First, copy the .env.dist file and rename it to .env:

cp .env.dist .env

Now you need to customize the .env file

Bot Settings

Name Description Example
TOKEN Bot Token from @BotFather 1234567:ASDSFDkjdjdsedmD...
ADMINS List of admin id's 12345678,12345677

Database Setup

Name Description Default
DB_NAME Database Name
DB_HOST Database Host localhost
DB_PORT Database Port 5432
DB_USER User with access to the database
DB_PASS Database password

Now the bot is ready to run! 🎉