Open Gazettes South Africa website
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_data
_gazettes
_includes
_layouts
_resources
_sass
bin
css
fonts
img
js
.gitignore
BingSiteAuth.xml
CNAME
Gemfile
Gemfile.lock
LICENSE
README.md
_config.yml
about.html
deploy_key.enc
index.html
join.html
robots.txt
terms.html
yandex_b7f95d4f589720e9.html

README.md

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://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.