Technologies stack used: peewee, aiogram2.25, postgresql
git clone https://github.com/devSimaa/michelangelo-bot
cd michelangelo-bot
Linux: pip3 install -r requirements.txt
python3 -m venv .venv
source .venv\bin\activate
Windows
python -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt
.venv
you can change it to another name
Copy file .env.dist
and rename it to .env
$ cp .env.dist .env
Than configure variables
$ vim .env
# or
$ nano .env
ADMINS
- administrators ids
# example
ADMINS=12345678,12345677,12345676
TOKEN
- bot token from @BotFather
# example
BOT_TOKEN=123452345243:Asdfasdfasf
Dababase postgres
DB_NAME
- database name
DB_HOST
- database host | default='localhost'
DB_PORT
- database port | default=5432
DB_USER
- user with access to the database
DB_PASS
- database password