Trying to build the Hugo site textfiles.habd.as on a 2019 MBP and kept encountering the too many open file socket exception. Hugo seemed to have completed the build but was unable to subsequently serve the files:
:: Node / Vue / ES6 / Fuse / Docker / CSS3 / Bash
After fighting with WordPress on my personal blog for 5 years starting back in 2008 I like many others switched over to static. With Jekyll as my generator I found a lot to love over the years. After 3 years and an increasing amount of content I became familiar with Jekyll’s speed and scaling issues and ended up resorting to workarounds to avoid them, hurting my publishing cadence in the process.
Dissatisfied with Jekyll and after considerable product analysis I eventually discovered Hugo. Before switching I performed a multi-year experiment with Hugo before deciding to jump ship for good. After Dark was the result.
:: Hugo / After Dark / Shell / HTML / CSS / ES6
The textfiles.bit website is an ambitious port of Jason Scott’s textfiles.com website to After Dark. This “dot-bit”-ready site includes a number of unique features not available on any existing mirror including 57,000 preview pages with both light/dark themes.
This site was built to stress-test Hugo to determine the limits of scale for the static site generator which claims to be one of the fastest. At this scale, Hugo chews up about 14GB memory to build the site and requires approx. 1-2 minutes to build on an 8-core i7.
Rio is a MicroPaaS for Kubernetes designed to run using minimal resources. Rio provides automatic DNS and HTTPS, load balancing, routing, metrics and more. Use it to remove the chore of creating and managing a secure IT infrastructure.
k3s is a lightweight, certified Kubernetes distribution capable of running on constrained hardware and therefore ideal for local, edge and IoT substrates. K3s was originally developed for Rio but useful enough to stand on its own.
Today I’m going to show you how to easily set-up k3s and Rio on Manjaro Linux MacBook and use them to create a self-hosted, git-based continuous delivery pipeline to serve your own website.
If you’re not yet familiar with Kubernetes, no problem. Please let this gentle introduction serve as your practical guide. When you’re finished you’ll have a better understanding of the concepts and tools used in container orchestration and a shiny new website you can use to demonstrate your skills.
So you found out how Smashing Magazine got 10x faster and want to create your own JAMstack website with Hugo. If so, you’re in luck because I’m going to show you how to do it using Amazon Web Services so you don’t end up paying through the nose for hosting or locked into a provider which might disappear.
Many are familiar with the idea of static site generators like Jekyll and why they should use them. But Jekyll isn’t the only SSG out there. In fact, there are literally hundreds of SSGs guaranteed to give you analysis paralysis. With so many to choose from it can be difficult to decide which to use.