Example applicationΒΆ

Minimal Flask application example.

First install Invenio-Logging, setup the application and load fixture data by running:

$ pip install -e .[all]
$ cd examples
$ ./app-setup.sh
$ ./app-fixtures.sh

Next, start the development server:

$ export FLASK_APP=app.py FLASK_DEBUG=1
$ flask run

and open the example application in your browser:

$ open http://127.0.0.1:5000/

You should now be able to see that an error message have been logged to the console.

To reset the example application run:

$ ./app-teardown.sh