Simple Aiogram 3.x template

wakatime

How to run

Required launched PostgreSQL and installed Python3.10

  • copy config template
cp -r config_dist config
  • Fill config/config.yml in with required values
  • Create and activate venv
python -m venv venv
source venv/bin/activate
  • install dependencies
pip install -r requirements.txt
  • Fill in alembic.ini (probably only db url)
  • apply migrations
alembic upgrade head
  • ... and run
python -m app