https://github.com/eidorb/brodie.id.au
brodie.id.au website and infrastructure.
https://github.com/eidorb/brodie.id.au
Last synced: about 1 year ago
JSON representation
brodie.id.au website and infrastructure.
- Host: GitHub
- URL: https://github.com/eidorb/brodie.id.au
- Owner: eidorb
- License: agpl-3.0
- Created: 2022-06-17T02:16:59.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-12-10T04:50:16.000Z (over 1 year ago)
- Last Synced: 2025-02-05T10:50:23.343Z (over 1 year ago)
- Language: Jupyter Notebook
- Homepage: https://brodie.id.au
- Size: 3.78 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# brodie.id.au
[brodie.id.au](https://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:
```bash
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
```