Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

OpenUpSA/opengazettes

Repository files navigation

Gazette listing

This is a simple Jekyll website listing South African Gazettes that Code for South Africa has scraped and indexed and stored in S3 as part of our gazette liberation project.

The structure is simple. Each jurisdiction (province) and year has an entry in the _gazettes directory, which Jekyll treats as a collection. All the gazette info is taken from _data/gazettes.json which is grouped by jurisdiction and year. Jekyll then does the hard work of generating the listings for each jurisdiction and year.

Running locally

  1. Clone the repo
  2. Run bundle install
  3. Run jekyll server --watch

Updating

To update this list from the production index:

curl http:https://archive.opengazettes.org.za/index/gazette-index-latest.jsonlines -O
python bin/build-index.py

Build process

The website is built automatically by GitHub pages based on the Gazette information already in the repository.

The build branch has code that updates the information in the repository from the Gazette index in S3. A Travis build for this branch is triggered automatically when we archive new Gazettes in S3.

License

MIT License.

Releases

No releases published

Packages

No packages published