This gist is a collection of my rough notes from Strange Loop 2012.
- Learn to install your full stack from scratch
- Don't use any 'out of the box' auto install all the things scripts
- Even if your workplace/school provides a machine all ready to go, you still want to do this for your own growth and understanding
-
Know each component so you can update it
-
Don't be afraid to start from scratch and do it all over again. Practice!
In 2015, I converted haughtcodeworks.com to a static site built with Middleman and hosted on S3 and CloudFront. I was asked how I went about that so this gist documents what I did, as best as I can recall. It's been nearly two years since then so some of the gems and tools may have changed for the better.
You may wonder why I shifted to a static site given how dynamic web content is these days. I've known for years that static sites are ideal for certain kinds of content and after hearing about Middleman for the upteenth time, I decided that when it was time to refresh our website, I'd take a look.
As a Ruby programmer, I found that Middleman allowed me to work in the same fashion as I did in Rails yet generate static content. I could still use data or Ruby code to customize how I generated the site.
Cost was another benefit. My monthly hosting bill is $0.13, which includes CDN features via CloudFront. How can you argue with that price? There were a