OpenUpSA / ckanext-gdoc

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
  4. 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).
  5. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:

    sudo service apache2 reload

About

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

License:GNU Affero General Public License v3.0


Languages

Language:Python 75.2%Language:Shell 22.4%Language:HTML 2.5%