.. You should enable this project on travis-ci.org and coveralls.io to make
these badges work. The necessary Travis and Coverage config files have been
generated for you.
.. image:: https://travis-ci.org/OCHA-DAP/ckanext-powerview.svg?branch=master
:target: https://travis-ci.org/OCHA-DAP/ckanext-powerview
.. image:: https://coveralls.io/repos/OCHA-DAP/ckanext-powerview/badge.svg
:target: https://coveralls.io/r/OCHA-DAP/ckanext-powerview
=================
ckanext-powerview
Data source and configuration to power a view for one or more resources.
Requirements
Requires CKAN 2.3+
Installation
.. Add any additional install steps to the list below.
For example installing any non-Python dependencies or adding any required
config settings.
To install ckanext-powerview:
Activate your CKAN virtual environment, for example::
. /usr/lib/ckan/default/bin/activate
Install the ckanext-powerview Python package into your virtual environment::
pip install ckanext-powerview
Install dependencies::
pip install -r requirements.txt
Create the database tables::
paster –plugin=ckanext-powerview powerview init –config=production.ini
Add powerview to the ckan.plugins setting in your CKAN
config file (by default the config file is located at
/etc/ckan/default/production.ini).
Restart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu::
sudo service apache2 reload
Development Installation
To install ckanext-powerview for development, activate your CKAN virtualenv and
do::
git clone https://github.com/OCHA-DAP/ckanext-powerview.git
cd ckanext-powerview
python setup.py develop
pip install -r requirements.txt
pip install -r dev-requirements.txt
Configuration Settings
Optional configuration sett