This is the source code for my personal website. Unless stated otherwise, all content is MIT-licensed.
Travis CI builds the static website with Jekyll and uses validate.rb to check content for w3c compliance. Simon Sigurdhsson wrote the original validate.rb script, available in the public domain by the CC0 license, and the modifications here are also available in the public domain by the CC0 license.
You will need Ruby 2.7.0, as this is the version used by GitHub Pages. For detailed instructions on managing different versions of Ruby and switching between them, visit the Jekyll installation page. Make sure to have the following in your shell so that it has access to the right compilers (for MacOS - it needs access to libffi).
export LDFLAGS="-L/opt/homebrew/opt/libffi/lib"
export CPPFLAGS="-I/opt/homebrew/opt/libffi/include"
export PKG_CONFIG_PATH="/opt/homebrew/opt/libffi/lib/pkgconfig"
Once installed, you can use bundle install
to install the dependencies and bundle exec jekyll serve
to serve the website.
NOTE: This is a fork of Brandon Amos's Personal Website adapted for my needs.