This website hosts guidance for the Manage vaccinations in schools service.
The website can be found at guide.manage-vaccinations-in-schools.nhs.uk.
Content lives within the app folder as Markdown files.
The website is built using the Eleventy static site generator, and hosted using GitHub Pages.
The canonical source of content for the user guide is a Google Doc. This document should be edited first and any changes reviewed if necessary before the user guide is updated.
The canonical source of content for the XLSX file download templates is Microsoft SharePoint. These documents should be edited first before downloading and updating the files in this repository.
Set up Python in the update_notify_templates directory:
cd scripts
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtPut a copy of the Notify API key in update_notify_templates/.env, by making a copy of
update_notify_templates/.env.example and replacing the placeholder with the actual key.
This key only needs to be of the type Test - pretends to send messages, because only template access is required.
To update the Notify templates, run the following command from the update_notify_templates directory:
python update_notify_templates.pyFirst install Node.js.
Then install the dependencies by running this command:
npm installYou can then run the site locally by running:
npm startThe static site is built using this command:
npm run buildThe deploy.yml file is used to build the site and deploy it to GitHub Pages every time a change is made and pushed to the main branch.