infaust / anatomia-del-confinamiento

Static site for the artistic photography project "Anatomía del confinamiento"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Anatomía del confinamiento

Static site for the artistic photography project Anatomía del confinamiento, lead by Andrea Ruiz.

The site is powered by Hugo.

Build

Build Hugo's docker image:

docker build -t hugo .

Run

Run the container with docker run:

docker run --rm -it -v $PWD:/src -p 1313:1313 -u hugo jguyomard/hugo-builder hugo server -w --bind=0.0.0.0

And open the browser at http://localhost:1313/ to access the site.

Hugo's container hot reloads changes in real-time without the need to restart the container.

Deploy

Run:

docker run --rm -it -v $PWD:/src -v $PWD/public:/usr/share/blog/public -e AWS_REGION=<aws-region> -e AWS_ACCESS_KEY_ID=<key-id> -e AWS_SECRET_ACCESS_KEY=<secret-access-key> hugo hugo deploy --verbose

About

Static site for the artistic photography project "Anatomía del confinamiento"


Languages

Language:CSS 42.7%Language:HTML 39.3%Language:JavaScript 10.0%Language:Python 7.9%Language:Dockerfile 0.2%