CKAN extension adding metadata fields to resources.
release_date
geographical_coverage
exceptions
formulas
definitions
units_used
unique_identifier_field
coordinate_reference_system
To install ckanext-resourcemeta:
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
Install the ckanext-resourcemeta Python package into your virtual environment:
pip install git+https://github.com/WorldBank-Transport/ckanext-resourcemeta.git
Add
resourcemeta
to theckan.plugins
setting in your CKAN config file, for example in your/etc/ckan/default/production.ini
or in yourdevelopment.ini
fileRestart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:
sudo service apache2 reload
If you have multiple plugins overriding resource templates you may need to add resourcemeta
before those plugins in your ckan.plugins
setting, for example
ckan.plugins = ... resourcemeta other_resource_template_plugin
To install ckanext-resourcemeta for development, activate your CKAN virtualenv and do:
git clone https://github.com/WorldBank-Transport/ckanext-resourcemeta.git cd ckanext-resourcemeta python setup.py develop
Then add resourcemeta
to the ckan.plugins
setting in your CKAN.
If you would like to contribute source code to this plugin feel free to fork the github repository
https://github.com/WorldBank-Transport/ckanext-resourcemeta and set it as an upstream
remote. For more information about forking a github repostiry check https://help.github.com/articles/fork-a-repo/ or search for additional resources online.