The writing homepage for Miles Rausch.
WHAT?? Yes, the writer, Miles Rausch, is also the developer, Miles Rausch.
What's Miles.ink made out of?
Miles.ink is built on Jekyll. To see the site, we have to generate it. Jekyll builds static sites from all sorts of magic parts. There's data, posts, layouts and Sass to do styling.
To generate the site:
bundle exec jekyll build
Jekyll has a built-in server that can watch your files for updates and refresh the page for you. Cool? Def.
To serve the site:
bundle exec jekyll serve
Updating the Service Worker
Miles.ink is a simple Progressive Web App. The
sw.js file was built using Workbox, and it's a good idea to update it when changes are made to the site. I'd like to work this into the deploy step at some point. The generator will use a config file so builds will be consistent. You must have Workbox installed.
To update the service worker:
workbox generateSW workbox-cli-config.js
Miles.ink uses Glynn to deploy it. For obvious reasons, the
_glynn.yml file is not committed with the project.
To deploy the site: