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.
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.