ckanext-dc-log-view

View DC data logs on DCOR


Keywords
CKAN, DCOR, RT-DC
License
Other
Install
pip install ckanext-dc-log-view==0.4.0

Documentation

ckanext-dc_log_view

PyPI Version Coverage Status

A CKAN log viewer for DC files.

Installation

pip install ckanext-dc_log_view

Add this extension to the plugins and defaul_views in ckan.ini:

ckan.plugins = [...] dc_log_view
ckan.views.default_views = [...] dc_log_view

Testing

If CKAN/DCOR is installed and setup for testing, this extension can be tested with pytest:

pytest ckanext

Testing can also be done via vagrant in a virtualmachine using the dcor-test <https://app.vagrantup.com/paulmueller/boxes/dcor-test/> image. Make sure that vagrant and virtualbox are installed and run the following commands in the root of this repository:

# Setup virtual machine using `Vagrantfile`
vagrant up
# Run the tests
vagrant ssh -- sudo bash /testing/vagrant-run-tests.sh