postgresql.py
.env fayliga o’zgartirish kiritamiz
Data/config faylini ham o’zgartiramiz
Pipenv install asyncpg
Utils/db_api/postgresql.py
tests.py fayli orqali test qilamiz
Handlers
loader.py
app.py
handlers/users/start.py
handlers/users/admin.py
Amazon serverga yuklash(tayyorgarlik)
requirements.txt faylini yasash: pipenv lock –r > requirements.txt
botni serverga yuklab bo’lgach BOT_TOKEN o’chirib yuborilishi shart !
Amazon server. Linux server yaratamiz
Do'stlaringiz bilan baham: |