Run tests:
pytest
Run the app:
docker-compose up
Application uses Alembic to maintain the relevance of the database schema.
To generate migration using autogenerate mechanism use this command.
alembic revision --autogenerate -m "Comment"
To migrate current db use this command
alembic upgrade head
Don't forget to track new migration script in sick_bastard/alembic/versions
with git.
alembic merge -m "merge" bac4f154f3bc 90cb4e689dce