This is still a work in progress
This project fetches and processes code.json
files and indexes them in Elasticsearch. This is ment to be the main harvester for Code.gov and the Code.gov API.
Please install the following dependencies before running this project:
- Node.js
- Elasticsearch
Once node is installed, install the local npm dependencies
cd code-gov-harvester && npm install
Before running any of the commands included in the package.json file there are some environment variables that need to be set:
- NODE_ENV: The node environment the project is running under. Valid environments are:
production
orprod
staging
orstag
development
ordev
To be added soon.
Here’s how you can help contribute to code.gov:
-
Source Code Policy
- To provide feedback on the Federal Source Code Policy, follow this issue tracker
-
Code.gov
- To provide feedback on code-gov-harvester, please checkout our Contributing Guildelines.
- To contribute to the Code.gov data, go to the [code-gov-data] repo at (https://github.com/GSA/code-gov-data)
- Checkout code-gov for a list of additional project repositories. If you aren't sure where your question or idea fits, this is a good place to share it.
To update the dependency_licenses.json
file, run npm run licenses
.
As stated in CONTRIBUTING:
[..] this project is in the worldwide public domain (in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication).
All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.