Skip to content

Run outside repo #60

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 .

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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