Publish a dataset to another CKAN instance.
Compatibility with core CKAN versions:
CKAN version | Compatible? |
---|---|
2.8 and earlier | not tested |
2.9 | Yes |
To install ckanext-dataset-transfer:
-
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
-
Clone the source and install it on the virtualenv
git clone https://github.com//ckanext-dataset-transfer.git cd ckanext-dataset-transfer pip install -e . pip install -r requirements.txt
-
Add
dataset_transfer
to theckan.plugins
setting in your CKAN config file (by default the config file is located at/etc/ckan/default/ckan.ini
). -
migrate the db
ckan -c /path/to/ckan.ini db upgrade -p dataset_transfer
-
Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:
sudo service nginx reload