Bits of Geekery

Building awesome hardware/software projects. Becoming a better alchemist day by day.

Page 2

Running Hugo on Nanobox for local dev

My previous post helped those running Solus Linux to install the Nanobox client, now it’s time to do some work! This blog is a static site generated by Hugo, let’s move that over to Nanobox so we don’t have to touch a server again. Check out their new pricing, I won’t be managing servers anymore if I can help it!


In order to use hugo it first must be installed, this can be accomplished within the boxfile.yml file.

Note: I am working on moving this over to an engine. Nanobox engines are open source allowing me to easily accomplish this. Once I have it accepted, I will add a new blog post covering it and link it here.

 boxfile.yml setup

The best approach in my mind, is to cover my boxfile.yml changes in small enough chunks to properly explain what is going on. At the bottom of this section I will paste the entire file.

I based this off Tyler Flint’s gist that installs Hugo but...

Continue reading →

Running Nanobox on Solus Linux

Managing the servers that your application(s) run on is enjoyable to some. I’ve automated server provisioning, deployments, backups, etc. using Ansible but it’s not enjoyable in the same way as building applications. From reading Start Small, Stay Small: A Developer’s Guide to Launching a Startup, I learned that tasks which can be outsourced, should be outsourced. Can you manage the infrastructure? Sure, but then you won’t be creating value within your application. Enter Nanobox…

Nanobox is a service that manages your servers, from local dev environments to autoscaling your application(s). They utilize your cloud account from companies like Digital Ocean and Linode, which means you own your infrastructure. This post covers installation of the desktop client on Solus Linux so you can setup a local dev environment. The desktop client will utilize Docker to run container images as this is...

Continue reading →

Setting up Gitlab CI for Elixir/Phoenix on your VPS

Gitlab is a great development tool, getting better with every release. They give you access to their new-ish pipelining features on for free. However, I wanted to setup the Gitlab Runner (this is what executes your CI build) on my own VPS using Docker. Gitlab makes this very easy to install, but the documentation is spread out when it comes to setup and execution. I thought an all in one document showing all the steps would be helpful to the community.

I am hoping this post will help out others looking to run their Elixir/Phoenix application tests through the CI pipeline using their own VPS.

All commands were executed on my VPS as the root user. If you are logged in as a user that has sudo access, you will need to prepend all commands with sudo.

Prerequisites: A VPS or similar server (virtualbox, docker, …)

 Setup the Gitlab Runner

 Run on your VPS

Install docker


Continue reading →

Leaking the `Dragster` name

When I was in High School, I was a roller coaster enthusiast (and still am, only with less time to visit parks). Cedar Point is my favorite park, and I would make the 4 hour trip (each way) monthly. On one particular trip, my father and friend joined, and the timing was right to see the results of a recent delivery…roller coaster track!

The track was located on a dirt stretch behind Mean Steak, no barriers or signs indicating that we shouldn’t stop and look. After a few hours in the park we walked over to take pictures, it was amazing to see the track up close. When you look at a completed coaster, you don’t realize how large the track actually is. I snapped 28 pictures before seeing that a box had some paper on it, right away a packing slip shot into my mind! Quickly I snapped 2 more pictures, not knowing if they would even be in focus enough to read.

It was then I noticed the a park...

Continue reading →