Bacon Recipe Calculator

This is a custom calculator for our homemade bacon recipe. The measurements are taken from Babish's recipe, except for the curing salt, since we use a lower ppm (for safety).

Source recipes

Directory structure

.
├── README.md
├── dest
│   ├── images
│   │   ├── bacon.jpg
│   │   └── favicon.png
│   ├── index.html
│   ├── scripts
│   │   └── script.js
│   └── styles
│       └── index.css
└── src
    └── index.pug

Working with pug

  • How to convert pug code to html: pug src --out dest -P
    The syntax is pug <source dir> --out <target dir>, and the -P flag means pretty, which makes the output html use indentation and line breaks.

Styling

  • Using bootstrap for styling. Non-bootstrap styling (such as the background color) is done using vanilla css.

Hosted in AWS S3 bucket

aws s3 cp --recursive dest/ s3://<bucket-name>
Note: Only copy the files in dest/ to S3.