Skip to content

openva/richmondsunlight.com

Repository files navigation

Richmond Sunlight

SonarCloud GitHub Build

This is the front-end of the website. See also: rs-machine, the collection of scrapers and parsers that provide the site's third-party data, rs-api, the API that powers (some of) the website, and rs-video-processor, the on-demand legislative-video-processing system.

History

Richmond Sunlight started in 2005 as a little RSS-based bill tracker, updating every few hours. In 2006 it was built out as Richmond Sunlight, launching publicly in January of 2007. It's remained a hobby site ever since. The code base hasn’t been overhauled in all that time, and it shows — the site’s tech stack shows the growth rings of being developed over the course of many years. But it continues to function, and has been modernized in some ways, e.g. by adding a CI/CD pipeline, moving to SOA, etc.

Branches

Local development

The site can be run locally, in Docker:

  1. Install Docker.
  2. Clone this repository. Make sure you’re using the branch that you want.
  3. Run ./docker-run.sh.
  4. In your browser, open http://localhost:5000.

When you are done, run ./docker-stop.sh (or quit Docker).

Architecture

Network diagram