Skip to content

Preview contents of ZIP files, even if they are hosted on external sites (Python 3/webassets ckan 2.9+ compatible).

License

Notifications You must be signed in to change notification settings

keitaroinc/ckanext-zippreview

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ckanext-zippreview

Preview contents of ZIP files, even if they are hosted on external sites!

Requirements

CKAN 2.3+ (Resource view support)

Installation

To install ckanext-zippreview:

  1. Activate your CKAN virtual environment, for example:

    . /usr/lib/ckan/default/bin/activate
    
  2. Install the ckanext-zippreview Python package into your virtual environment:

    pip install ckanext-zippreview
    
  3. Add zip_view to the ckan.plugins setting and ckan.views.default_views setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini).

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

    sudo service apache2 reload
    

Development Installation

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

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

About

Preview contents of ZIP files, even if they are hosted on external sites (Python 3/webassets ckan 2.9+ compatible).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 82.5%
  • HTML 11.0%
  • CSS 6.5%