Example applicationΒΆ

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

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

You should also have the Redis running on your machine. To know how to install and run redis, please refer to the redis website.

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/

Choose a user to login:

You can check the administration page opening the page:

Note that, as defined in our fixtures, only info@inveniosoftware.org user can enter.

To uninstall and purge the example app, run:

$ ./app-teardown.sh