Extension ckanext-questionnaire


Extension Basics

Title
ckanext-questionnaire
Name
ckanext-questionnaire
Type
Public extension
Description
With this extension CKAN sysadmin can set up a survey for the all the users. The Questions in the survey can be added or deleted by the sysadmin and the answers can be set up to be as text, choose one or choose multiple options. The Questions are the same for all the users.
CKAN versions
Download-Url (zip)
Last commit
7 months ago (2025-06-13 10:27:29)
Url to repo
Category
(not set)


Background Infos

Description (long)
Show details

With this extension CKAN sysadmin can set up a survey for the all the users. The Questions in the survey can be added or deleted by the sysadmin and the answers can be set up to be as text, choose one or choose multiple options. The Questions are the same for all the users.

Version
v1.0
Version release date
2023-02-23
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

To install ckanext-questionnaire:

Activate your CKAN virtual environment, for example:

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

Clone the source and install it on the virtualenv

git clone https://github.com/keitaroinc/ckanext-questionnaire.git cd ckanext-questionnaire pip install -e . pip install -r requirements.txt

Add questionnaire to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/ckan.ini).

Create the database tables running:

ckan -c /path/to/ini/file questionnaire init-db

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

sudo service apache2 reload

For uninstalling the extension, drop the tables in the database using running:

ckan -c /path/to/ini/file questionnaire delete-db

Config settings

When logging in the user is redirected to the Questions page available on the User Dashboard page. You need to add the following setting in your ckan.ini file:

route_after_login = “user.me”

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