Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run outside repo #60

Open
sverhoeven opened this issue Mar 21, 2023 · 0 comments
Open

Run outside repo #60

sverhoeven opened this issue Mar 21, 2023 · 0 comments

Comments

@sverhoeven
Copy link
Member

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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant