Extension DWG Viewer


Extension Basics

Title
DWG Viewer
Name
ckanext-dwgviewer
Type
Public extension
Description
A resource view plugin that enables viewing of AutoCAD DWG drawing files directly within CKAN.
CKAN versions
Download-Url (zip)
Last commit
7 years ago (2019-01-17 15:33:35)
Url to repo
Category
Visualization & Analytics


Background Infos

Description (long)
Show details

ckanext-dwgviewer

A drawing (AutoCAD) file viewer for CKAN. This extension provides a resource view plugin that allows users to preview DWG files directly in the browser without requiring external software.

Requirements

This extension was developed for CKAN 2.x versions.

Installation

To install ckanext-dwgviewer:

  1. Activate your CKAN virtual environment, for example:

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

    pip install ckanext-dwgviewer
    
  3. Add dwgviewer to the ckan.plugins 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-dwgviewer for development, activate your CKAN virtualenv and do:

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

License

AGPL-3.0 license

Developed by TIB Hannover (Technische Informationsbibliothek).

Version
0.0.1
Version release date
2019-01-17
Contact name
TIB Hannover
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

Add ‘dwgviewer’ to ckan.plugins. Available on PyPI for easy installation. Provides a view plugin for AutoCAD DWG drawing files.

Plugins to configure (ckan.ini)
dwgviewer
CKAN Settings (ckan.ini)
# ckanext.dwgviewer.some_setting = some_default_value
DB migration to be executed
(not set)
<< back to Extensions