The development repository for www.danasilver.org.
Activate a venv:
. venv/bin/activate
Install the requirements to build the site:
pip install -r requirements.txt
The site is templated with Jinja2 and generated using staticjinja. Build the site with:
python3 build.py
The generated site is in _site/
.
Run an HTTP server from that directory for a preview:
python3 -m http.server
And open http://localhost:8000 to view the rendered site.
Push to master to deploy.
Push to master triggers a GitHub Action, which builds the static site, uploads to S3, and invalidates the Cloudfront distribution.