struiling / meals-for-the-nhs

COVID: meals for the NHS

Home Page:https://mealsforthenhs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Meals for the NHS

mealsforthenhs.com

A static site built with Eleventy and TailwindCSS with additional support for pulling data from Airtable via a Makefile.

Requires Python

To set up: npm install

To pull down from Airtable and run locally: Create an airtable base with an Orders and Hospitals table. The Hospitals table must have Hospital Name as one of the fields. (Change this in bin/create-hospitals.py) export APP_ID=appid && export APP_KEY=appkey (replace with your Airtable app ID and base Key – find those in your Airtable API docs) pip3 install -r requirements.txt make serve

To run locally without fresh Airtable data: npm run dev

To build a production version locally make build

Hosting with Netlify

A Netlify file is included for one click install. Builds to dist. Check netlify.toml for Netlify settings.

More help

This site is based on the core of Skeleventy, a skeleton boilerplate built with Eleventy and TailwindCSS. Check out Skeleventy for more help with the theme specifically, or Eleventy and TailwindCSS for help with the static site builder and css respectively.

About

COVID: meals for the NHS

https://mealsforthenhs.com

License:MIT License


Languages

Language:HTML 68.4%Language:JavaScript 21.2%Language:CSS 4.8%Language:Python 4.7%Language:Makefile 1.0%