CKAN Configuration

In order to tell CKAN where this webservice is located, the following must be added to the [app:main] section of your CKAN configuration file (generally located at /etc/ckan/default/production.ini):

ckan.datapusher.url = http://0.0.0.0:8800/

The DataPusher also requires the ckan.site_url configuration option to be set on your configuration file:

ckan.site_url = http://your.ckan.instance.com

CKAN 2.2 and above

If you are using at least CKAN 2.2, you just need to add datapusher to the plugins in your CKAN configuration file:

ckan.plugins = <other plugins> datapusher

Restart apache:

sudo service apache2 restart

CKAN 2.1

If you are using CKAN 2.1, the logic for interacting with the DataPusher is located in a separate extension, ckanext-datapusherext.

To install it, follow the following steps

#go to the ckan source directory
cd /usr/lib/ckan/default/src

#clone the DataPusher CKAN extension
sudo git clone https://github.com/ckan/ckanext-datapusherext.git

#install datapusherext
cd ckanext-datapusherext
sudo /usr/lib/ckan/default/bin/python setup.py develop

Add datapusherext to the plugins line in /etc/ckan/default/production.ini:

ckan.plugins = <other plugins> datapusherext

Restart apache:

sudo service apache2 restart