smbdsbrain / sick_bastard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Testing

Run tests:

pytest

Docker

Run the app:

docker-compose up

Migrations

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

About

License:Do What The F*ck You Want To Public License


Languages

Language:Python 72.0%Language:Shell 24.5%Language:Mako 2.6%Language:Dockerfile 1.0%