Personal site built with Middleman.
To create local copy:
bundle exec middleman buildStatic site should have been generated in the /build directory. Preview with open build/index.html.
Deployments leverage the middleman-gh-pages extension. To deploy to GH pages:
bundle exec rake build # Compile static files into build directory
bundle exec rake publish # Build + publish to `gh-pages` branchCurrently using a free SSL certificate from Let's Encrypt. The certificate is valid for 90-days by default, and thus must be renewed to remain valid. The Certbot homebrew package makes that easy:
# Try to renew all certificates in non-interactive mode.
sudo certbot renew
# If that doesn't work, use the interactive mode.
sudo certbot certonly --manual -d joeycody.com