Skip to content

goranmaxim/ckanext-requestdata

 
 

Repository files navigation

Request data · Build Status

This extension allows users to request data to be added to datasets. The owner of the dataset as well as the admins of the organization that the dataset belongs to can take actions on these requests.

Development Installation

To install ckanext-requestdata for development, activate your CKAN virtualenv and do:

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

Config Settings

These are the required configuration options used by the extension:

hdx_portal = False
smtp.server=YOUR_SMTP_SERVER
smtp.user=YOUR_SMTP_USERNAME
smtp.password=YOUR_SMTP_PASSWORD
smtp.mail_from =SENDER_MAIL

Running the Tests

To run the tests, first make sure that you have installed the required development dependencies in CKAN, which can be done by running the following command in the CKAN's src directory:

pip install -r dev-requirements.txt

After that just type this command to actually run the tests in the extension.

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

About

CKAN extension for requesting new data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 61.0%
  • HTML 24.6%
  • JavaScript 10.5%
  • CSS 3.1%
  • Shell 0.8%