Skip to content

adanalife/website

This branch is 1 commit ahead of, 39 commits behind master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4800300 · Dec 8, 2020
Sep 27, 2017
Apr 14, 2020
Sep 26, 2017
Jun 20, 2020
Oct 21, 2018
Jul 17, 2018
Dec 8, 2020
Apr 9, 2019
Jun 20, 2020
Jun 20, 2020
Apr 13, 2020
Apr 26, 2020
Apr 14, 2020
Jun 20, 2020

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>>