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.
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.
master
: The staging site.deploy
: The production site.
The site can be run locally, in Docker:
- Install Docker.
- Clone this repository. Make sure you’re using the branch that you want.
- Run
./docker-run.sh
. - In your browser, open
http://localhost:5000
.
When you are done, run ./docker-stop.sh
(or quit Docker).