communitydata.io icon indicating copy to clipboard operation
communitydata.io copied to clipboard

A centralized data portal bringing together data from community run data portals across the U.S.

CommunityData.io

A federated data catalog for community-managed open data portals.

Current status

A basic CKAN instance to support this effort has been set up, and several community-managed data portals have been identified.

How you can help

See the issues list for opportunities to assist this project. Got ideas? Add a new issue.

Setup

This project runs on CKAN. This repo is self-contained, all the source code you need to run the project is within the repo. CKAN and re-usable extensions are included as submodules. To check them out, run:

git submodule update

If you are used to setting up CKAN development environments, you can follow your usual workflow.

Alternatively, you can also initialize this repo as a datacats environment:

pip install datacats
datacats pull
cd communitydata.io/
datacats init

Setting up the Harvester

If you are using datacats, you can run the harvester commands like so:

cd community/ckanext-harvest/
datacats paster -d harvester gather_consumer
datacats paster -d harvester fetch_consumer
datacats paster harvester run

You will of course still need to set up harvest sources on the ckan harvest admin interface at /harvest.

Design files

Design for the site is done in less, and is located in ckanext-communitytheme/ckanext/communitytheme/design. If you make changes to the less files, you need to compile the following two less files into the following locations:

/base/less/main.less > ../fanstatic/main.css
/base/vendor/bootstrap/less/bootstrap.less > ../fanstatic/bootstrap.css

Deployment

If you are a committer and want deploy privileges, talk to @mheadd.