ckanext-webview
A CKAN extension that adds a view for displaying generic/arbitrary URLs.
Overview
A CKAN extension for adding arbitrary URLs as resource views.
Installation
Installing from PyPI
pip install ckanext-webview
Installing from source
- Clone the repository into the
src folder:
cd $INSTALL_FOLDER/src
git clone https://github.com/NaturalHistoryMuseum/ckanext-webview.git
- Activate the virtual env:
. $INSTALL_FOLDER/bin/activate
- Install via pip:
pip install $INSTALL_FOLDER/src/ckanext-webview
Post-install setup
- Add ‘webview’ to the list of plugins in your config file:
ckan.plugins = ... webview
- Install
lessc globally:
npm install -g "less@~4.1"
Configuration
There are currently no options that can be specified in your .ini config file.
Usage
After enabling this extension in the list of plugins, the Web view should become available for resources. The URL can be overridden when creating the view.