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.example
file and name it.env
- Add your
AWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
to the.env
file - Run
./deploy.sh
from the root directory - You're done!
MIT License.