Extension Followy


Extension Basics

Title
Followy
Name
ckanext-followy
Type
Public extension
Description
[ARCHIVED] A CKAN extension to show the datasets a user is following.
CKAN versions
Download-Url (zip)
Last commit
8 years ago (2017-10-15 10:37:44)
Url to repo
Category
Data Management & Quality


Background Infos

Description (long)
Show details

Followy CKAN Extension

A CKAN extension that displays the datasets a user is following on their profile and dashboard in the Following tab.

Requirements

This extension requires an installation of CKAN. To install and set up CKAN, visit CKAN Documentation

Installation

Step 1:

  • Activate your virtual environment using the path to your virtual environment. If you have followed the default path when installing CKAN on Mac OSX, you may have to use /usr/local/lib/ckan/default/bin/activate. You can copy the code as is below, including the preceeding dot.
. /usr/lib/ckan/default/bin/activate

Step 2:

  • Install the extension

You can download the source code and install the extension manually. To do so, execute the following command:

pip install -e git+https://github.com/CodeForAfricaLabs/ckanext-followy.git#egg=ckanext-followy

Alternatively: You can clone this repo (preferably into the /src directory where you installed CKAN), cd into ckanext-followy and run

python setup.py develop

Step 3:

  • Modify your configuration file (generally in /etc/ckan/default/production.ini) and add followy to the ckan.plugins property.
ckan.plugins = followy <OTHER_PLUGINS>

Step 4:

  • Restart your server:
paster serve /etc/ckan/default/production.ini

OR

paster serve --reload /etc/ckan/default/production.ini

With --reload, your server is restarted automatically whenever you make changes to your source code.

Running the Tests

To run the tests, do:

nosetests --nologcapture --with-pylons=test.ini

To run the tests and produce a coverage report, first make sure you have coverage installed in your virtualenv (pip install coverage) then run:

“`bash nosetests –nologcapture –with-pylons=test.ini –with-coverage –cover-package=ckanext.

Version
Version release date
(not set)
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

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