Skip to content

RussianCow/theminimalmixologist.com

Repository files navigation

The Minimal Mixologist

This is the website for The Minimal Mixologist (www.theminimalmixologist.com).

Dependencies

  • Terraform (or OpenTofu) for managing infrastructure
  • Python with Poetry for uploading files to S3
  • Zola for building the website

Running locally

The website is built and deployed on every push to main. To build it locally:

$ cd website
$ zola build # or `zola serve` for development

To deploy from your own machine, your AWS credentials must be accessible. The easiest way to get started is to make sure your access key ID and secret keys are exported as environment variables in your shell. See the AWS docs for more information.

To apply the Terraform infrastructure configuration:

$ cd infrastructure
$ terraform apply

To upload the built website to S3 and invalidate the CloudFront cache, create a Python 3 virtual environment with Poetry and run upload.py:

$ poetry install
$ poetry run ./upload.py