The Invenio-DB package is on PyPI so all you need is:
$ pip install invenio-db
Invenio-DB depends on Flask-SQLAlchemy.
SQLALCHEMY_DATABASE_URI
- The database URI that should be used for the connection. Defaults tosqlite://<instane path>/<app name>.db
.SQLALCHEMY_ECHO
- Log all statements to stderr. Defaults toapp.debug
.
See https://Flask-SQLAlchemy.readthedocs.io/config.html for further configuration options.