- https://gohugo.io/
- https://github.com/carsonip/hugo-theme-minos
- https://photoswipe.com/
- GitLab CI/CD
- AWS CloudFront, S3 and Lambda@Edge
- 🪦
https://3musketeers.io/
- Install Hugo
- Clone the repo, critically with submodules to get the theme too
git clone --recursive https://github.com/aarongorka/aarongorka-com
- Build the site (note: if building under an alternate domain, modify
baseURLinconfig.yamlor links won't work)hugo
- Deploy the CloudFormation stack. This assumes you have an existing cert in ACM.
CERTIFICATE_ARN="<ARN to an ACRM certificate>" DOMAIN_NAME="<your domain name>" aws cloudformation create-stack \ --region us-east1 \ --stack-name aarongorka-com \ --template-body file://cloudformation.yaml \ --parameters ParameterKey=DomainName,ParameterValue=$DOMAIN_NAME ParameterKey=CertificateArn,ParameterValue=$CERTIFICATE_ARN
- Sync the contents of the website to the bucket
aws s3 sync --no-progress --delete --cache-control 'max-age=3155695200' public/ "s3://${DOMAIN_NAME}/"
- Manually (or otherwise through another mechanism) create A and AAAA records for
$DOMAIN_NAMEpointing to theCloudFrontDistributionDomainName