Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.2 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.2 KB

data4dappl

A web-site with additional pipelines and data processing that allow to browse and analyze data received from freedom of information requests sent by a group of Israeli lawyers and organizations.

The site is available here: https://www.odata.org.il/en/

Quickstart

This will setup a local ckan instance, including the odata extension and all needed depdencies (solr, db, redis)

  • Install latest version of docker and docker-compose
  • bin/start.sh
  • bin/initialize_db.sh

Installing the ckan extension on an existing ckan project

If you have an existing ckan installation and just want to install the odata plugin:

  • Install the package (should run inside your ckan installations virtualenv):
    • pip install -e 'git+https://github.com/OriHoch/data4dappl.git#egg=ckanext-odata_org_il&subdirectory=ckan/ckanext-odata_org_il'
  • Edit the configuration (E.g. /etc/ckan/default/development.ini)
    • add odata_org_il to ckan.plugins
  • restart ckan

Serving ckan locally, but connecting to docker-compose services

  • docker-compose up -d db redis solr
  • bin/recreate_templates.sh
  • From activated Python 2.7 virtualenv:
    • bin/install.sh
    • paster serve `pwd`/ckan/development-local.ini