Skip to content

Run outside repo #60

@sverhoeven

Description

@sverhoeven

Given you installed bartender with pip install git+https://github.com/i-VRESSE/bartender.git.

Running alembic upgrade head will complain about missing alembic.ini.
When alembic.ini is downloaded then next error is that it can not find src/bartender/db/migrations script location.

It would be nice if quickstart steps in README actually work.

The alembic.ini should have its script_location field set with package resource so it can find the migration scripts , see (https://alembic.sqlalchemy.org/en/latest/tutorial.html .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions