aiogram 2
i18n
peewee
PostgreSQL \ Sqlite
First, clone the repository and navigate to its directory:
git clone https://github.com/devvsima/dating-bot.git
cd dating-bot
💡 Note: The name .venv
can be changed to any other name you wish.
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
python -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt
First, copy the .env.dist
file and rename it to .env
:
cp .env.dist .env
Now you need to customize the .env
file
Name | Description | Example |
---|---|---|
TOKEN | Bot Token from @BotFather | 1234567:ASDSFDkjdjdsedmD... |
ADMINS | List of admin id's | 12345678,12345677 |
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 |