This is a simple Jekyll website listing Gazettes that we have scraped and indexed and stored in S3 as part of our gazette liberation project.
The structure is simple. Each jurisdiction (country/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.
- Clone the repo
- Run
bundle install - Run
jekyll server --watch
To update this list from the production index:
curl https://s3-eu-west-1.amazonaws.com/cfa-opengazettes-ke/gazettes/data.jsonlines -O
python bin/build-index.py
The website is deployed to S3 using s3_website
To deploy:
- Make a copy of the
.env.examplefile and name it.env - Add your
AWS_ACCESS_KEY_IDandAWS_SECRET_ACCESS_KEYto the.envfile - Run
./deploy.shfrom the root directory - You're done!
MIT License.