About this


This blog began life as a chronicle of my life inside a touring band with a music/business idea. The early days were me writing about letting go of an old dream so that I could have a new one. Then it sort of turned into an autobiography of the last 8 or so years of my life - moving from the music business into the tech business, fatherhood, life and all that.

For the last 8 years I've worked with, thought about, and written about a variety of web technologies - Drupal, Rails, Linux, AWS. My LinkedIn resume is here. I still think and occasionally write about the music business and other personal things but I think it's about to turn into a blog about learning Python for web and doing "data stuff".

So welcome and please have a look around.

- Grubb, March 2016

Recent Posts

Platform.sh from scratch - Laravel, Redis, and the Platform CLI

Hello, and welcome back to Platform.sh from scratch. In this post we'll be reconfiguring your Laravel app that we've been working on in the previous posts to use Redis as a cache and session store, rather than the default file store. We'll also install the Platform CLI and use it to SSH into our application container and get a feel for the layout of the filesystem after it's deployed to its environment.

A new Redis service!

So far we haven't actually built any logic into this...

Platform.sh from Scratch - adding a database to your Laravel app

Hello (!) and welcome back to Platform.sh from scratch. In this post we'll learn about how to set up the Laravel app from the previous post to hook in to various services on Platform, starting with a database connection and moving on to using Redis as a cache and session store. Along the way we'll visit Platform.sh's "environment variables" feature, and we'll set up our first fully functioning deploy hook.

Prerequisites - go through the previous post and get that far...

Let's get...

Platform.sh from scratch - setting up a Laravel app

Hi there and welcome back to Platform.sh from scratch. In this post we'll convert a Laravel app for use on Platform and learn a few tricks that will hopefully inform converting any app for use on Platform.

Step 1 is to get going with a new Laravel app, so follow the instructions on installing Laravel and setting up a new project. Initialize a git repo, add a new platform, and add the Platform.sh git remote to your local repo. All of this is documented in the previous post.

Now, at...

Platform.sh from scratch - PostgreSQL

Hi there and welcome back to Platform from scratch. Today we're going to take a very simple Laravel application that will make use of Postgres on the backend as a database.

The complete example application can be found here - https://github.com/JGrubb/platformsh-laravel-example

The very first step of this will be to add in the appropriate .platform/services.yaml file. This file was left intentionally empty in the setup for this Laravel application, as we didn't have a need for a working...

Platform.sh from scratch, part 0 - explaining Platform as simply as possible.

Hello, and welcome to "Platform.sh from Scratch". In this prologue to the series, I'll go over some of the very highest level concepts of Platform.sh so that you'll have a clearer understanding of what this product is and why it came to be.

Platform.sh is a "Platform as a Service", commonly referred to in this age of acronyms as a "PaaS". The platform that we provide is essentially a suite of development and hosting tools to make developing software applications a smoother end-to-end...