Skip to content

Mat-O-Lab/ckanext-multiuploadform

 
 

Repository files navigation

Tests

ckanext-multiuploadform

This CKAN extension helps users to upload multiple resources at once with drag&drop. It adds an extra form for uploadig multiple files and leaves the vanilla one untouched.

Requirements

Compatibility with core CKAN versions:

CKAN version Compatible?
2.9 and arlier not tested
2.10 yes
2.11 yes
  • "yes"
  • "not tested" - I can't think of a reason why it wouldn't work
  • "not yet" - there is an intention to get it working
  • "no"

Installation

To install the extension:

  1. Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
  1. Use pip to install package
pip install ckanext-multiuploadform
  1. Add multiuploadform to the ckan.plugins setting in your CKAN    config file (by default the config file is located at    /etc/ckan/default/ckan.ini).

  2. Restart CKAN. For example, if you've deployed CKAN with Apache on Ubuntu:

sudo service apache2 reload

Usage and Config

Note: you have to set the max resource size in ckan configuration (/etc/ckan/default/ckan.ini)

ckan.max_resource_size

Developer installation

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

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

Tests

To run the tests, do:

pytest --ckan-ini=test.ini

Acknowledgments

The authors would like to thank the developers of the original project https://github.com/TIBHannover/ckanext-multiuploadform.

About

CKAN extension for uploading multiple resources at once.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 44.8%
  • JavaScript 24.8%
  • HTML 24.8%
  • CSS 5.6%