Skip to content

adanalife/website

Repository files navigation

Version Build Status License: CC BY-NC-SA 4.0

Live site available here: https://www.dana.lol

If you want you can read these two articles about how the site works: part 1 and part 2.

Contact Form

The site is designed to be static, but there is a small app that runs the contact page. You can view the code that runs the contact page in the danalol-contact-form project.

Technical Infrastructure

To build out the infrastructure required to run this site, you can use the CloudFormation templates found in cloudformation/

You will need domain name (like example.com), a blog domain name (like www.example.com), and an AWS ACM Certificate ARN string.

# create the hosted zone in Route53
aws cloudformation create-stack \
  --stack-name <<ROUTE53 STACK NAME>> \
  --template-body file://./cloudformation/route53-zone.yaml \
  --parameters ParameterKey=DomainName,ParameterValue=<<EXAMPLE.COM>>

# create the S3 bucket and CloudFront setup
aws cloudformation create-stack \
  --stack-name <<CDN STACK NAME>> \
  --template-body file://./cloudformation/s3-static-website-with-cloudfront-and-route-53.yaml \
  --parameters \
      ParameterKey=DomainName,ParameterValue=<<EXAMPLE.COM>> \
      ParameterKey=FullDomainName,ParameterValue=<<WWW.EXAMPLE.COM>> \
      ParameterKey=AcmCertificateArn,ParameterValue=<<ACM ARN STRING>>