This plugin provides the option of using the Google Docs viewer for previewing content as an IResourceView
To install ckanext-gdoc:
Clone this repository into the place where you normally install extensions, by default this will be /usr/lib/ckan/default/src/
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
Install the ckanext-gdoc Python package into your virtual environment:
cd ckanext-gdoc python setup.py install
Add
gdoc_view
to theckan.plugins
setting in your CKAN config file (by default the config file is located at/etc/ckan/default/production.ini
).Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:
sudo service apache2 reload