{"id":13905119,"url":"https://github.com/caciviclab/odca-jekyll","last_synced_at":"2025-10-28T18:31:41.029Z","repository":{"id":39510932,"uuid":"120268376","full_name":"caciviclab/odca-jekyll","owner":"caciviclab","description":"New ODCA front end","archived":false,"fork":false,"pushed_at":"2024-10-29T12:12:41.000Z","size":30064,"stargazers_count":17,"open_issues_count":48,"forks_count":14,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-10-29T14:39:44.068Z","etag":null,"topics":["california","campaign-finance","code-for-america","election","jekyll","jekyll-site","openoakland"],"latest_commit_sha":null,"homepage":"https://www.opendisclosure.io","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/caciviclab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-05T07:12:43.000Z","updated_at":"2024-09-04T21:42:35.000Z","dependencies_parsed_at":"2024-01-17T13:44:45.181Z","dependency_job_id":"989d70d3-b2af-4873-a9ef-d90485121049","html_url":"https://github.com/caciviclab/odca-jekyll","commit_stats":{"total_commits":704,"total_committers":23,"mean_commits":"30.608695652173914","dds":0.6321022727272727,"last_synced_commit":"c7552d6d4ee0e792d9399dd118caa46ca737e59e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caciviclab%2Fodca-jekyll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caciviclab%2Fodca-jekyll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caciviclab%2Fodca-jekyll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caciviclab%2Fodca-jekyll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caciviclab","download_url":"https://codeload.github.com/caciviclab/odca-jekyll/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238700325,"owners_count":19515905,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["california","campaign-finance","code-for-america","election","jekyll","jekyll-site","openoakland"],"created_at":"2024-08-06T23:01:10.248Z","updated_at":"2025-10-28T18:31:37.634Z","avatar_url":"https://github.com/caciviclab.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"Open Disclosure Oakland  [![CircleCI](https://circleci.com/gh/caciviclab/odca-jekyll.svg?style=svg)](https://circleci.com/gh/caciviclab/odca-jekyll)\n===========================================================================\n\n[Open Disclosure][opendisclosure-io] is a project of [OpenOakland](https://openoakland.org). \nThe website provides transparent, non-partisan campaign contribution and expenditure data in an accessible and easy to understand format. We hope this site will engage the voting public and\nraise awareness and accountability. Ultimately, this is one step toward shifting\npolitics into a movement of civic engagement and ultimate citizen action.\n\n\n# Contents\n\n- [Code of conduct](#code-of-conduct)\n- [Quickstart for developers](#quickstart-for-developers)\n- [Project documentation](#project-documentation)\n- [License](#license)\n\n\n# Code of conduct\n\nTo participate in this project, we ask you to abide by the OpenOakland [Code of Conduct](CODE_OF_CONDUCT.md).\n\n\n# Quickstart for developers\n\nThere are two ways to run the website locally for development: using Docker, and running everything locally.\n\n## Run using Docker\n\n### Prerequisites\n\n- [Docker](https://www.docker.com/products/docker-desktop)\n\nEnsure you have the backend cloned as a sibling to this repo. Find more details below in [Finance disclosures](#finance-disclosures).\n\nNote: If you are switching from the \"local\" build to the \"docker\" build you need to: \n\n    $ rm -rf .jekyll-metadata\n\n### Run this command in your terminal\n\n    $ make docker\n\nOpen your web browser to [http://localhost:4000/](http://localhost:4000/).\n\n\n## Run locally\n\n### Prerequisites\n\n- [Ruby 2.7](https://www.ruby-lang.org/)\n- [Bundler 2](https://bundler.io/) gem\n- [Make](https://www.gnu.org/software/make/)\n- [Node 12.16+](https://nodejs.org/)\n- [ImageMagick](https://www.imagemagick.org/)\n- [nvm](https://github.com/nvm-sh/nvm#install--update-script)\n\n\n### Run these commands in your terminal\n\n    $ nvm install \u0026\u0026 nvm use # To get on the right node version\n    $ make setup # To install all dependencies\n\nEnsure you have the backend cloned as a sibling to this repo. Find more details below in [Finance disclosures](#finance-disclosures).\n\n    $ make pull-finance\n    $ make serve\n\nOpen your web browser to [http://localhost:4000/](http://localhost:4000/).\n\n\n### Additional commands\n\nYou can build the site without running a server, if needed \n    \n    $ make build\n\nYou can run the tests locally too\n\n    $ make test\n\n\n## Finance disclosures\n\nThe process of downloading, converting, and calculating the reported financial\ndisclosures is handled by [disclosure-backend-static][backend-static].  To get\nthe finance data into this project, we use [gulp.js](https://gulpjs.com/) to\ncopy the files over and do some light transformations on their file paths.\n\nIf you have thoughts on how this could be improved, [let us\nknow](https://github.com/caciviclab/odca-jekyll/issues/5)!\n\n\n### Update the finance data\n\nIn order to get the latest finance data, first clone\n[disclosure-backend-static][backend-static] as a sibling to this project's\ndirectory. _It is important that the `disclosure-backend-static` project is\ncloned to the correct path (`../disclosure-backend-static`) which is hardcoded\nin the gulpfile (pull requests welcome)._\n\nThen you can run the pull-finance task.\n\n    $ make pull-finance\n\nNow rebuild your site with the finance data.\n\n    $ make serve\n\n\n## Deployment Information\n\nThis site is deployed by a [scheduled CI task](https://circleci.com/gh/caciviclab/workflows/odca-jekyll) twice daily. It clones the [disclosure-backend-static][backend-static] repo and pulls in the finance data before doing a build. Merges to the master branch will also trigger a deploy.\n\nThe site is hosted on [GitHub Pages](https://pages.github.com/). The deploy\nconsists of a force push of the `_site` directory to the `gh-pages` branch done\nby [_bin/deploy.sh](_bin/deploy.sh).\n\n\n# Project documentation\n\n- [Project Overview](https://docs.google.com/document/d/147WBdGqM_J9pA_fmUhuE0DOEKrIFy0GaT9m66oXTbG0/edit?usp=sharing)\n\n\n# License\n\nContent for this website is available under the [Creative Commons\nAttribution-NonCommercial-ShareAlike 4.0 International\nLicense](https://creativecommons.org/licenses/by-nc-sa/4.0/).\n\nCode is licensed under the GNU Affero General Public License.\n\n```\n    www.opendisclosure.io California’s online source for local campaign finance data\n    Copyright (C) 2020  OpenOakland\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero General Public License as\n    published by the Free Software Foundation, either version 3 of the\n    License, or (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n```\n\n[Font Awesome Icons](https://fontawesome.com/) located under `assets/fontawesome/` available under the\n[CC-BY-4.0 License](https://creativecommons.org/licenses/by/4.0/).\n\n\n[backend-static]: https://github.com/caciviclab/disclosure-backend-static\n[opendisclosure-io]: https://www.opendisclosure.io/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaciviclab%2Fodca-jekyll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaciviclab%2Fodca-jekyll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaciviclab%2Fodca-jekyll/lists"}