ckanext-edsnews
Extension that provides basic news functionality for the Energinet project.
Note: This repository is named ckanext-systeminfo but actually contains the ckanext-edsnews extension code.
Requirements
CKAN 2.6+
Installation
- Activate your CKAN virtual environment
- Install the ckanext-edsnews Python package:
pip install ckanext-edsnews
- Add
edsnews to the ckan.plugins setting
- Restart CKAN
Config Settings
ckanext.edsnews.news_show_limit = 10 # default max 10
ckanext.edsnews.pagination_limit = 5 # default max 5
ckanext.edsnews.recent_news_limit = 5 # default max 5
ckanext.edsnews.truncate_limit = 100 # default: 100
Development Installation
git clone https://github.com/duskobogdanovski/ckanext-edsnews.git
cd ckanext-edsnews
python setup.py develop
pip install -r dev-requirements.txt
Running the Tests
nosetests --nologcapture --with-pylons=test.ini
License
AGPL-3.0