openclimatefix / ckanext-openenergy

Special customisations for the Energy Data Search.

Home Page:http://search.energydata.org.uk/dataset

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ckanext-openenergy

Downloads Latest Version Development Status License

Installation

To install ckanext-openenergy:

  1. Activate your CKAN virtual environment, for example:

    . /usr/lib/ckan/default/bin/activate
    
  2. Install the ckanext-openenergy Python package into your virtual environment:

    pip install ckanext-openenergy
    
  3. Add openenergy to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini).

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

    sudo service apache2 reload
    

Config Settings

Document any optional config settings here. For example:

# The minimum number of hours to wait before re-checking a resource
# (optional, default: 24).
ckanext.openenergy.some_setting = some_default_value

Development Installation

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

git clone https://github.com/openclimatefix/ckanext-openenergy.git
cd ckanext-openenergy
python setup.py develop

Deploying a new version to PyPi

git tag 0.0.5
git push --tags

python setup.py sdist
python3 -m twine upload dist/*

About

Special customisations for the Energy Data Search.

http://search.energydata.org.uk/dataset

License:MIT License


Languages

Language:Python 56.5%Language:HTML 32.7%Language:CSS 10.9%