Skip to content

brodie.id.au website and infrastructure.

License

Notifications You must be signed in to change notification settings

eidorb/brodie.id.au

Repository files navigation

brodie.id.au

brodie.id.au website and infrastructure.

brodie.id.au.py defines the website's infrastructure using AWS CDK. It's a CloudFront distribution serving static website files from an S3 bucket origin. It takes care of the domain name and certificate too.

brodie.id.au contains the website's content. Sphinx is used to build static website files from this content.

A GitHub workflow (.github/workflows/deploy.yml) automatically builds and deploys the website when changed.

How to build and serve locally

This installs dependencies, builds the website and opens index.html in a browser:

micromamba create --file environment.yml --yes
micromamba activate "${PWD##*/}" # If dir name == environment name...
poetry install
sphinx-build -b html brodie.id.au _build && open _build/index.html