Skip to main content

No project description provided

Project description

Config Settings

Document any optional config settings here. For example:

# The size treshold for remote resources
# (optional, default: 4).
ckanext.resource_indexer.max_remote_size = 4

# Make an attempt to index remote files(fetch into tmp folder
# using URL)
# (optional, default: false).
ckanext.resource_indexer.allow_remote = 1

# List of lowercased resource formats that should be
# indexed. Currently only `pdf` and `txt` supported
# (optional, default: None)
ckanext.resource_indexer.indexable_formats = txt pdf

Development Installation

To install ckanext-resource_indexer for development, activate your CKAN virtualenv and do:

git clone https://github.com//ckanext-resource_indexer.git
cd ckanext-resource_indexer
python setup.py develop
pip install -r dev-requirements.txt

Add resource_indexer to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini).

Running the Tests

To run the tests, do:

nosetests --nologcapture --with-pylons=test.ini ckanext.resource_indexer

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ckanext-resource_indexer-0.0.1.tar.gz (16.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page