Extension Mongodatastore


Extension Basics

Title
Mongodatastore
Name
ckanext-mongodatastore
Type
Core extension
Description
A datastore backend implementation for CKAN that supports data citation.
CKAN versions

~2.9.0

Show details

These CKAN Versions are exactely matched:

Download-Url (zip)
Last commit
5 years ago (2020-10-13 01:11:03)
Url to repo
Category
Standards Compliance


Background Infos

Description (long)
Show details

Build Status PyPI version Supported Python versions Development Status

ckanext-mongodatastore

This plugin provides a datastore implementation for CKAN, based on MongoDB for storing data records. One aspect of this implementation is, that it follows the RDA Recommendations for Data Citation. This guarantiees citability for every query that is submited to the datastore.

As this extension provides an implementation of the IDatastoreBackend, therefore the DataStore API can be used as before.

Requirements

This CKAN extension is tested with CKAN 2.9.0 running on Python 3.8.2.

To run this plugin beside an CKAN a mongo and a postgre database is required. The mongo database is needed for storing the data records and the postgre database is used as a querystore, described in the RDA Recommendations. For both instances a connection string has to be set in the CKAN config file.

Installation

To install ckanext-mongodatastore:

  1. Install [MongoDB](https://docs.mongod
Version
0.4
Version release date
2020-10-13
Contact name
Florian Wörister
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

To install ckanext-mongodatastore:

  1. Install MongoDB

  2. If not already existing, a QueryStore database has to be created::

sudo -u postgres createuser -S -D -R -P querystore
sudo -u postgres createdb -O querystore querystore -E utf-8
  1. Activate your CKAN virtual environment, for example::

. /usr/lib/ckan/default/bin/activate

  1. Install the ckanext-mongodatastore Python package into your virtual environment:

`pip install ckanext-

Plugins to configure (ckan.ini)
mongodatastore
CKAN Settings (ckan.ini)
DB migration to be executed
(not set)
<< back to Extensions