Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 972 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 972 Bytes

WStore CKAN Plugin

Plugin to include CKAN datasets as a native resource in WStore. This plugin validates that the provided dataset and checks that the user that creates the resource is the owner of this dataset. If the provided link does not point to a valid CKAN dataset or the owner of the dataset is not the same than the one that is creating the resource, the resource creation process will fail and an suitable message will be returned.

Installation

To install the plugin, the first thing that you must do is to compress it in a ZIP file. To do so, you can run the following command:

zip ckanplugin.zip ckan_dataset.py package.json

Then, go the src directory included in the folder used to install WStore, and run the following command:

./manage.py loadplugin <PATH_TO_THE_ZIP_FILE>

Note: Replace <PATH_TO_THE_ZIP_FILE> by the path where the file generated in the previous step is located.