/ckanext-gdoc

A previewer for CKAN that uses the Google Doc Previewer to view documents

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

ckanext-gdoc

This plugin provides the option of using the Google Docs viewer for previewing content as an IResourceView

Installation

To install ckanext-gdoc:

  1. Clone this repository into the place where you normally install extensions, by default this will be /usr/lib/ckan/default/src/

  2. Activate your CKAN virtual environment, for example:

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

    cd ckanext-gdoc
    python setup.py install
    
  1. Add gdoc_view to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini).

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

    sudo service apache2 reload