These are Source files to my personal blog, sqroot.eu.
This is a Jekyll site. You need to have Ruby and bundle
installed (sudo apt-get install ruby-full && sudo gem install bundler
).
You'll also need Node and npm to install build tools and static assets.
# Install Ruby dependencies`
$ bundle install --path=vendor
# Build the Jekyll site (into `_site` directory)
$ bundle exec jekyll build
# Install build tools
$ npm install
# Install JS and CSS files
$ cd _assets && ../node_modules/bower/bin/bower install && cd ..
# Build the docker image
$ docker-compose build
export PATH="/opt/homebrew/opt/ruby/bin:$PATH"
export LDFLAGS="-L/opt/homebrew/opt/ruby/lib"
export CPPFLAGS="-I/opt/homebrew/opt/ruby/include"
export PKG_CONFIG_PATH="/opt/homebrew/opt/ruby/lib/pkgconfig"
Code under Apache2 for learning purposes.
Content (images and text) (c) to Ando Roots - do not re-publish without written permission!