The E-ARK ipviewer is a software for viewing E-ARK information packages. It reads packaged container files as input and then visualizes structure, metadata, and provenance information of the information package.
The purpose of the IP Viewer is to demonstrate the use of metadata recommended by E-ARK standards to:
- represent the structure of the information package using METS,
- visualise which metadata is stored within the package,
- and providing a possibility to add specific modules for the visualisation of specific metadata (like EAD, DC, …) the provenance information using PREMIS.
Requires: Python >=3.7, <4.0.0
-
Checkout project
git clone https://github.com/E-ARK-Software/ipviewer.git
Change to earkweb directory:
cd ipviewer
-
Copy the settings template file and adapt parameters if needed:
cp settings/settings.cfg.default settings/settings.cfg
-
Create virtual environment (python)
virtualenv -p python3 venv
-
Install additional python packages:
pip3 install -r requirements.txt
-
Create a user (user name, email, password, super user status) using the Django function:
python manage.py createsuperuser
-
Create database tables
python manage.py makemigrations python manage.py makemigrations ipviewer python manage.py migrate
-
Verify if the user data directory exists and is writable (parameter
ip_data_path
insettings/settings.cfg
)
-
Start the application:
python manage.py runserver 0.0.0.0:8001
-
Run Huey task queue
python3 manage.py run_huey
-
Login with username/password defined in step 5 of the installation.
-
In the test/resources/ directory, there are information package examples which can be uploaded, for example:
urn+uuid+46f99745-2f60-4849-9406-d3fe40f67a67.tar