Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 575 Bytes

INSTALL.rst

File metadata and controls

23 lines (15 loc) · 575 Bytes

Installation

The Invenio-DB package is on PyPI so all you need is:

$ pip install invenio-db

Invenio-DB depends on Flask-SQLAlchemy.

Configuration

  • SQLALCHEMY_DATABASE_URI - The database URI that should be used for the connection. Defaults to sqlite://<instane path>/<app name>.db.
  • SQLALCHEMY_ECHO - Log all statements to stderr. Defaults to app.debug.

See https://Flask-SQLAlchemy.readthedocs.io/config.html for further configuration options.